#[non_exhaustive]pub enum AclPrivilege {
View,
ProxyView,
Operate,
Manage,
Administer,
Unknown(u8),
}Expand description
ACL privilege level (AccessControlEntryPrivilegeEnum, Matter spec §9.10.5.3).
#[non_exhaustive] so future spec revisions can add privilege levels without
a breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
View
Can read non-sensitive attributes and invoke non-privileged commands.
ProxyView
Can act as a proxy for a View-level principal.
Operate
Can perform data model operations including writes and commands.
Manage
Can manage fabric-scoped data.
Administer
Full administrative control including fabric membership.
Unknown(u8)
A privilege value not recognised by this version of the library.
Trait Implementations§
Source§impl Clone for AclPrivilege
impl Clone for AclPrivilege
Source§fn clone(&self) -> AclPrivilege
fn clone(&self) -> AclPrivilege
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AclPrivilege
Source§impl Debug for AclPrivilege
impl Debug for AclPrivilege
impl Eq for AclPrivilege
Source§impl PartialEq for AclPrivilege
impl PartialEq for AclPrivilege
impl StructuralPartialEq for AclPrivilege
Auto Trait Implementations§
impl Freeze for AclPrivilege
impl RefUnwindSafe for AclPrivilege
impl Send for AclPrivilege
impl Sync for AclPrivilege
impl Unpin for AclPrivilege
impl UnsafeUnpin for AclPrivilege
impl UnwindSafe for AclPrivilege
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more