pub struct AtcaSlot {
pub id: u8,
pub is_locked: bool,
pub config: SlotConfig,
}
Expand description
An ATECC slot
Fields§
§id: u8
ATECC slot id (for diagnostic)
is_locked: bool
Lock status of slot (locked or not). If is_locked is true, slot cannot be written
config: SlotConfig
Slot configuration as can be read from configuration zone
Implementations§
Trait Implementations§
impl Copy for AtcaSlot
Auto Trait Implementations§
impl Freeze for AtcaSlot
impl RefUnwindSafe for AtcaSlot
impl Send for AtcaSlot
impl Sync for AtcaSlot
impl Unpin for AtcaSlot
impl UnwindSafe for AtcaSlot
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