pub struct Storage<I2C, PS, AS, SN, D> {
pub eeprom: Eeprom24x<I2C, PS, AS, SN>,
/* private fields */
}
Expand description
EEPROM24X extension which supports the embedded-storage
traits but requires an
embedded_hal::delay::DelayNs
to handle the timeouts when writing over page boundaries
Fields§
§eeprom: Eeprom24x<I2C, PS, AS, SN>
Eeprom driver over which we implement the Storage traits
Implementations§
impl<I2C, PS, AS, SN, D> Storage<I2C, PS, AS, SN, D>
This impl block contains no items.
Common methods
Trait Implementations§
source§impl<I2C: Debug, PS: Debug, AS: Debug, SN: Debug, D: Debug> Debug for Storage<I2C, PS, AS, SN, D>
impl<I2C: Debug, PS: Debug, AS: Debug, SN: Debug, D: Debug> Debug for Storage<I2C, PS, AS, SN, D>
source§impl<I2C, E, PS, AS, SN, D> ReadStorage for Storage<I2C, PS, AS, SN, D>
impl<I2C, E, PS, AS, SN, D> ReadStorage for Storage<I2C, PS, AS, SN, D>
Auto Trait Implementations§
impl<I2C, PS, AS, SN, D> Freeze for Storage<I2C, PS, AS, SN, D>
impl<I2C, PS, AS, SN, D> RefUnwindSafe for Storage<I2C, PS, AS, SN, D>where
D: RefUnwindSafe,
I2C: RefUnwindSafe,
PS: RefUnwindSafe,
AS: RefUnwindSafe,
SN: RefUnwindSafe,
impl<I2C, PS, AS, SN, D> Send for Storage<I2C, PS, AS, SN, D>
impl<I2C, PS, AS, SN, D> Sync for Storage<I2C, PS, AS, SN, D>
impl<I2C, PS, AS, SN, D> Unpin for Storage<I2C, PS, AS, SN, D>
impl<I2C, PS, AS, SN, D> UnwindSafe for Storage<I2C, PS, AS, SN, D>
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