Enum ecc608_linux::WriteConfig [−][src]
pub enum WriteConfig { Write(_WriteConfig), DeriveKey(DeriveKeyConfig), GenKey(GenKeyConfig), PrivWrite(PrivWriteConfig), }
Expand description
Write cofiguration from the write_config slot bits for a given command. The interpretation of the write_config bits differs based on the command used.
Variants
Write(_WriteConfig)
DeriveKey(DeriveKeyConfig)
GenKey(GenKeyConfig)
PrivWrite(PrivWriteConfig)
Implementations
impl WriteConfig
[src]
impl WriteConfig
[src]pub fn from(cmd: WriteCommand, v: u8) -> Self
[src]
Trait Implementations
impl Debug for WriteConfig
[src]
impl Debug for WriteConfig
[src]impl Default for WriteConfig
[src]
impl Default for WriteConfig
[src]impl PartialEq<WriteConfig> for WriteConfig
[src]
impl PartialEq<WriteConfig> for WriteConfig
[src]fn eq(&self, other: &WriteConfig) -> bool
[src]
fn eq(&self, other: &WriteConfig) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &WriteConfig) -> bool
[src]
fn ne(&self, other: &WriteConfig) -> bool
[src]This method tests for !=
.
impl Serialize for WriteConfig
[src]
impl Serialize for WriteConfig
[src]impl StructuralPartialEq for WriteConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for WriteConfig
impl Send for WriteConfig
impl Sync for WriteConfig
impl Unpin for WriteConfig
impl UnwindSafe for WriteConfig
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 T
type Output = T
type Output = T
Should always be Self