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§
Source§impl Debug for PrivWriteConfig
impl Debug for PrivWriteConfig
Source§impl From<PrivWriteConfig> for u8
impl From<PrivWriteConfig> for u8
Source§fn from(v: PrivWriteConfig) -> Self
fn from(v: PrivWriteConfig) -> Self
Converts to this type from the input type.
Source§impl From<u8> for PrivWriteConfig
impl From<u8> for PrivWriteConfig
Source§impl PartialEq for PrivWriteConfig
impl PartialEq for PrivWriteConfig
Source§impl Serialize for PrivWriteConfig
impl Serialize for PrivWriteConfig
impl Eq for PrivWriteConfig
impl StructuralPartialEq for PrivWriteConfig
Auto Trait Implementations§
impl Freeze for PrivWriteConfig
impl RefUnwindSafe for PrivWriteConfig
impl Send for PrivWriteConfig
impl Sync for PrivWriteConfig
impl Unpin for PrivWriteConfig
impl UnwindSafe for PrivWriteConfig
Blanket Implementations§
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