pub struct KeyConfig(pub u16);Tuple Fields§
§0: u16Implementations§
Source§impl KeyConfig
impl KeyConfig
pub fn auth_key(&self) -> u8
pub fn intrusion_disable(&self) -> bool
pub fn x509_index(&self) -> u8
pub fn private(&self) -> bool
pub fn pub_info(&self) -> bool
pub fn key_type(&self) -> KeyConfigType
pub fn lockable(&self) -> bool
pub fn req_random(&self) -> bool
pub fn req_auth(&self) -> bool
pub fn set_auth_key(&mut self, value: u8)
pub fn set_intrusion_disable(&mut self, value: bool)
pub fn set_x509_index(&mut self, value: u8)
pub fn set_private(&mut self, value: bool)
pub fn set_pub_info(&mut self, value: bool)
pub fn set_key_type(&mut self, value: KeyConfigType)
pub fn set_is_lockable(&mut self, value: bool)
pub fn set_req_random(&mut self, value: bool)
pub fn set_req_auth(&mut self, value: bool)
Trait Implementations§
Source§impl<T> BitRangeMut<T> for KeyConfigwhere
u16: BitRangeMut<T>,
impl<T> BitRangeMut<T> for KeyConfigwhere
u16: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
impl Eq for KeyConfig
impl StructuralPartialEq for KeyConfig
Auto Trait Implementations§
impl Freeze for KeyConfig
impl RefUnwindSafe for KeyConfig
impl Send for KeyConfig
impl Sync for KeyConfig
impl Unpin for KeyConfig
impl UnwindSafe for KeyConfig
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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