#[repr(u32)]pub enum SecuredCommLevel {
Level1 = 0,
Level2 = 1,
Error = 2,
}
Expand description
Values for indication of the security level in communication between Host and BNR.
Variants§
Level1 = 0
Standard communication level.
Level2 = 1
Secured communication level.
Error = 2
Error occurred.
Implementations§
Source§impl SecuredCommLevel
impl SecuredCommLevel
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new SecuredCommLevel.
Sourcepub const fn create(val: u32) -> Self
pub const fn create(val: u32) -> Self
Creates a new SecuredCommLevel from the provided parameter.
Trait Implementations§
Source§impl Clone for SecuredCommLevel
impl Clone for SecuredCommLevel
Source§fn clone(&self) -> SecuredCommLevel
fn clone(&self) -> SecuredCommLevel
Returns a duplicate 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 SecuredCommLevel
impl Debug for SecuredCommLevel
Source§impl Default for SecuredCommLevel
impl Default for SecuredCommLevel
Source§fn default() -> SecuredCommLevel
fn default() -> SecuredCommLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecuredCommLevel
impl<'de> Deserialize<'de> for SecuredCommLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SecuredCommLevel
impl Display for SecuredCommLevel
Source§impl From<&SecuredCommLevel> for &'static str
impl From<&SecuredCommLevel> for &'static str
Source§fn from(val: &SecuredCommLevel) -> Self
fn from(val: &SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<&SecuredCommLevel> for XfsMember
impl From<&SecuredCommLevel> for XfsMember
Source§fn from(val: &SecuredCommLevel) -> Self
fn from(val: &SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<&SecuredCommLevel> for XfsValue
impl From<&SecuredCommLevel> for XfsValue
Source§fn from(val: &SecuredCommLevel) -> Self
fn from(val: &SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<&SecuredCommLevel> for i32
impl From<&SecuredCommLevel> for i32
Source§fn from(val: &SecuredCommLevel) -> Self
fn from(val: &SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<&SecuredCommLevel> for u32
impl From<&SecuredCommLevel> for u32
Source§fn from(val: &SecuredCommLevel) -> Self
fn from(val: &SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<&i32> for SecuredCommLevel
impl From<&i32> for SecuredCommLevel
Source§impl From<&u32> for SecuredCommLevel
impl From<&u32> for SecuredCommLevel
Source§impl From<SecuredCommLevel> for &'static str
impl From<SecuredCommLevel> for &'static str
Source§fn from(val: SecuredCommLevel) -> Self
fn from(val: SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<SecuredCommLevel> for XfsMember
impl From<SecuredCommLevel> for XfsMember
Source§fn from(val: SecuredCommLevel) -> Self
fn from(val: SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<SecuredCommLevel> for XfsValue
impl From<SecuredCommLevel> for XfsValue
Source§fn from(val: SecuredCommLevel) -> Self
fn from(val: SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<SecuredCommLevel> for i32
impl From<SecuredCommLevel> for i32
Source§fn from(val: SecuredCommLevel) -> Self
fn from(val: SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<SecuredCommLevel> for u32
impl From<SecuredCommLevel> for u32
Source§fn from(val: SecuredCommLevel) -> Self
fn from(val: SecuredCommLevel) -> Self
Converts to this type from the input type.
Source§impl From<i32> for SecuredCommLevel
impl From<i32> for SecuredCommLevel
Source§impl From<u32> for SecuredCommLevel
impl From<u32> for SecuredCommLevel
Source§impl PartialEq for SecuredCommLevel
impl PartialEq for SecuredCommLevel
Source§impl Serialize for SecuredCommLevel
impl Serialize for SecuredCommLevel
Source§impl TryFrom<&XfsMember> for SecuredCommLevel
impl TryFrom<&XfsMember> for SecuredCommLevel
Source§impl TryFrom<&XfsValue> for SecuredCommLevel
impl TryFrom<&XfsValue> for SecuredCommLevel
Source§impl TryFrom<XfsMember> for SecuredCommLevel
impl TryFrom<XfsMember> for SecuredCommLevel
Source§impl TryFrom<XfsValue> for SecuredCommLevel
impl TryFrom<XfsValue> for SecuredCommLevel
impl Copy for SecuredCommLevel
impl StructuralPartialEq for SecuredCommLevel
Auto Trait Implementations§
impl Freeze for SecuredCommLevel
impl RefUnwindSafe for SecuredCommLevel
impl Send for SecuredCommLevel
impl Sync for SecuredCommLevel
impl Unpin for SecuredCommLevel
impl UnwindSafe for SecuredCommLevel
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