Enum ecc608_linux::slot_config::PrivWriteConfig
source · pub enum PrivWriteConfig {
Invalid,
Encrypt,
}Variants
Invalid
PrivWrite will return an error if the target key slot has this value.
Encrypt
Writes to this slot require a properly computed MAC and the inputdata must be encrypted by the system with SlotConfig.WriteKey using the encryption algorithm documented with PrivWrite.
Trait Implementations
sourceimpl Debug for PrivWriteConfig
impl Debug for PrivWriteConfig
sourceimpl From<PrivWriteConfig> for u8
impl From<PrivWriteConfig> for u8
sourcefn from(v: PrivWriteConfig) -> Self
fn from(v: PrivWriteConfig) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for PrivWriteConfig
impl From<u8> for PrivWriteConfig
sourceimpl PartialEq<PrivWriteConfig> for PrivWriteConfig
impl PartialEq<PrivWriteConfig> for PrivWriteConfig
sourcefn eq(&self, other: &PrivWriteConfig) -> bool
fn eq(&self, other: &PrivWriteConfig) -> bool
sourceimpl Serialize for PrivWriteConfig
impl Serialize for PrivWriteConfig
impl Eq for PrivWriteConfig
impl StructuralEq for PrivWriteConfig
impl StructuralPartialEq for PrivWriteConfig
Auto Trait Implementations
impl RefUnwindSafe for PrivWriteConfig
impl Send for PrivWriteConfig
impl Sync for PrivWriteConfig
impl Unpin for PrivWriteConfig
impl UnwindSafe for PrivWriteConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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