#[repr(u8)]pub enum SecurityLevel {
Unsecure = 0,
AclMode = 1,
Secured = 2,
}
Variants§
Unsecure = 0
MAC Unsecured Mode Security
AclMode = 1
MAC ACL Mode Security
Secured = 2
MAC Secured Mode Security
Trait Implementations§
Source§impl Clone for SecurityLevel
impl Clone for SecurityLevel
Source§fn clone(&self) -> SecurityLevel
fn clone(&self) -> SecurityLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecurityLevel
impl Debug for SecurityLevel
Source§impl Default for SecurityLevel
impl Default for SecurityLevel
Source§fn default() -> SecurityLevel
fn default() -> SecurityLevel
Returns the “default value” for a type. Read more
Source§impl From<SecurityLevel> for u8
impl From<SecurityLevel> for u8
Source§fn from(value: SecurityLevel) -> u8
fn from(value: SecurityLevel) -> u8
Converts to this type from the input type.
Source§impl TryFrom<u8> for SecurityLevel
impl TryFrom<u8> for SecurityLevel
impl Copy for SecurityLevel
Auto Trait Implementations§
impl Freeze for SecurityLevel
impl RefUnwindSafe for SecurityLevel
impl Send for SecurityLevel
impl Sync for SecurityLevel
impl Unpin for SecurityLevel
impl UnwindSafe for SecurityLevel
Blanket Implementations§
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