Struct ecc608_linux::key_config::KeyConfig
source · [−]pub struct KeyConfig(pub u16);Tuple Fields
0: u16Implementations
sourceimpl KeyConfig
impl KeyConfig
pub fn auth_key(&self) -> u8
pub fn set_auth_key(&mut self, value: u8)
pub fn intrusion_disable(&self) -> bool
pub fn set_intrusion_disable(&mut self, value: bool)
pub fn x509_index(&self) -> u8
pub fn set_x509_index(&mut self, value: u8)
pub fn private(&self) -> bool
pub fn set_private(&mut self, value: bool)
pub fn pub_info(&self) -> bool
pub fn set_pub_info(&mut self, value: bool)
pub fn key_type(&self) -> KeyConfigType
pub fn set_key_type(&mut self, value: KeyConfigType)
pub fn lockable(&self) -> bool
pub fn set_is_lockable(&mut self, value: bool)
pub fn req_random(&self) -> bool
pub fn set_req_random(&mut self, value: bool)
pub fn req_auth(&self) -> bool
pub fn set_req_auth(&mut self, value: bool)
Trait Implementations
impl StructuralPartialEq for KeyConfig
Auto Trait Implementations
impl RefUnwindSafe for KeyConfig
impl Send for KeyConfig
impl Sync for KeyConfig
impl Unpin for KeyConfig
impl UnwindSafe for KeyConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more