Struct ecc608_linux::SlotConfig [−][src]
pub struct SlotConfig(pub u16);
Implementations
impl SlotConfig[src]
impl SlotConfig[src]pub fn secret(&self) -> bool[src]
pub fn set_secret(&mut self, value: bool)[src]
pub fn encrypt_read(&self) -> bool[src]
pub fn set_encrypt_read(&mut self, value: bool)[src]
pub fn limited_use(&self) -> bool[src]
pub fn set_limited_use(&mut self, value: bool)[src]
pub fn no_mac(&self) -> bool[src]
pub fn set_no_mac(&mut self, value: bool)[src]
impl SlotConfig[src]
impl SlotConfig[src]pub fn write_config(&self, cmd: WriteCommand) -> WriteConfig[src]
pub fn set_write_config<C>(&mut self, config: C) where
C: Into<u8>, [src]
C: Into<u8>,
Trait Implementations
impl<T> BitRange<T> for SlotConfig where
u16: BitRange<T>, [src]
impl<T> BitRange<T> for SlotConfig where
u16: BitRange<T>, [src]impl Debug for SlotConfig[src]
impl Debug for SlotConfig[src]impl Default for SlotConfig[src]
impl Default for SlotConfig[src]A convenience function to get a slot configuratoin set up to generate and store ECDSA private keys.
impl PartialEq<SlotConfig> for SlotConfig[src]
impl PartialEq<SlotConfig> for SlotConfig[src]fn eq(&self, other: &SlotConfig) -> bool[src]
fn eq(&self, other: &SlotConfig) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &SlotConfig) -> bool[src]
fn ne(&self, other: &SlotConfig) -> bool[src]This method tests for !=.
impl Serialize for SlotConfig[src]
impl Serialize for SlotConfig[src]impl StructuralPartialEq for SlotConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for SlotConfig
impl Send for SlotConfig
impl Sync for SlotConfig
impl Unpin for SlotConfig
impl UnwindSafe for SlotConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self