pub enum Address {
Otp(OffsetAddress),
Config(OffsetAddress),
Data(DataAddress),
}Variants§
Implementations§
Source§impl Address
impl Address
pub fn otp(block: u8, offset: u8) -> Result<Self>
pub fn config(block: u8, offset: u8) -> Result<Self>
pub fn slot_config(slot: u8) -> Result<Self>
pub fn key_config(slot: u8) -> Result<Self>
pub fn data(slot: u8, block: u8, offset: u8) -> Result<Self>
pub fn zone(&self) -> u8
Trait Implementations§
impl Copy for Address
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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