Enum rust_cryptoauthlib::WriteConfig [−][src]
Detailed ATECC key slot write configuration
Variants
Clear text writes are always permitted on this slot. Slots set to always should never be used as key storage. Either 4 or 32 bytes may be written to this slot.
If a validated public key is stored in the slot, writes are prohibited. Use Verify(Invalidate) to invalidate prior to writing. Do not use this mode unless slot contains a public key.
Writes are never permitted on this slot using the Write command. Slots set to never can still be used as key storage.
Writes to this slot require a properly computed MAC, and the input data must be encrypted by the system with WriteKey using the encryption algorithm documented in the Write command description. 4-byte writes to this slot are prohibited.
Trait Implementations
impl Clone for WriteConfig
[src]
fn clone(&self) -> WriteConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for WriteConfig
[src]
impl Debug 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,