Lines Matching refs:KeyPermSet
349 pub struct KeyPermSet(pub i32); struct
355 vec: KeyPermSet,
360 pub fn new(v: KeyPermSet) -> Self { in new()
383 impl From<KeyPerm> for KeyPermSet { implementation
390 impl From<i32> for KeyPermSet { implementation
396 impl From<KeyPermSet> for i32 {
397 fn from(p: KeyPermSet) -> i32 { in from()
402 impl KeyPermSet { implementation
404 pub fn includes<T: Into<KeyPermSet>>(&self, other: T) -> bool { in includes()
405 let o: KeyPermSet = other.into(); in includes()
418 () => { KeyPermSet(0) };
420 KeyPermSet(($head.0).0 $(| ($tail.0).0)*)
424 impl IntoIterator for KeyPermSet { implementation
455 access_vec: KeyPermSet, in check_grant_permission() argument
509 access_vector: &Option<KeyPermSet>, in check_key_permission() argument
585 const ALL_PERMS: KeyPermSet = key_perm_set![
599 const SYSTEM_SERVER_PERMISSIONS_NO_GRANT: KeyPermSet = key_perm_set![
609 const NOT_GRANT_PERMS: KeyPermSet = key_perm_set![
623 const UNPRIV_PERMS: KeyPermSet = key_perm_set![