pub enum _WriteConfig {
Always,
PubInValid,
Never,
Encrypt,
}Variants§
Always
Clear text writes are always permitted on this slot. Slots set to alwaysshould never be used as key storage. Either 4 or 32 bytes may bewritten to this slot
PubInValid
If a validated public key is stored in the slot, writes are prohibited. UseVerify(Invalidate) to invalidate prior to writing. Do not use thismode unless the slot contains a public key.
Never
Writes are never permitted on this slot using the Write command.Slots set to never can still be used as key storage.
Encrypt
Writes to this slot require a properly computed MAC, and the inputdata must be encrypted by the system with WriteKey using theencryption algorithm documented in the Write command description(Section Write Command). 4 byte writes to this slot are prohibited.
Trait Implementations§
Source§impl Debug for _WriteConfig
impl Debug for _WriteConfig
Source§impl From<_WriteConfig> for u8
impl From<_WriteConfig> for u8
Source§fn from(v: _WriteConfig) -> Self
fn from(v: _WriteConfig) -> Self
Converts to this type from the input type.
Source§impl From<u8> for _WriteConfig
impl From<u8> for _WriteConfig
Source§impl PartialEq for _WriteConfig
impl PartialEq for _WriteConfig
Source§impl Serialize for _WriteConfig
impl Serialize for _WriteConfig
impl Eq for _WriteConfig
impl StructuralPartialEq for _WriteConfig
Auto Trait Implementations§
impl Freeze for _WriteConfig
impl RefUnwindSafe for _WriteConfig
impl Send for _WriteConfig
impl Sync for _WriteConfig
impl Unpin for _WriteConfig
impl UnwindSafe for _WriteConfig
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