Lines Matching refs:KeyPermSet
182 pub struct KeyPermSet(pub i32); struct
188 vec: KeyPermSet,
193 pub fn new(v: KeyPermSet) -> Self { in new()
216 impl From<KeyPerm> for KeyPermSet { implementation
223 impl From<i32> for KeyPermSet { implementation
229 impl From<KeyPermSet> for i32 {
230 fn from(p: KeyPermSet) -> i32 { in from()
235 impl KeyPermSet { impl
237 pub fn includes<T: Into<KeyPermSet>>(&self, other: T) -> bool { in includes()
238 let o: KeyPermSet = other.into(); in includes()
251 () => { KeyPermSet(0) };
253 KeyPermSet($head as i32 $(| $tail as i32)*)
257 impl IntoIterator for KeyPermSet { implementation
288 access_vec: KeyPermSet, in check_grant_permission() argument
339 access_vector: &Option<KeyPermSet>, in check_key_permission() argument
411 const ALL_PERMS: KeyPermSet = key_perm_set![
425 const SYSTEM_SERVER_PERMISSIONS_NO_GRANT: KeyPermSet = key_perm_set![
435 const NOT_GRANT_PERMS: KeyPermSet = key_perm_set![
449 const UNPRIV_PERMS: KeyPermSet = key_perm_set![