Struct capsules_extra::at24c_eeprom::AT24C
source · pub struct AT24C<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a> Flash for AT24C<'a>
impl<'a> Flash for AT24C<'a>
§type Page = EEPROMPage
type Page = EEPROMPage
Type of a single flash page for the given implementation.
source§fn read_page(
&self,
page_number: usize,
buf: &'static mut Self::Page,
) -> Result<(), (ErrorCode, &'static mut Self::Page)>
fn read_page( &self, page_number: usize, buf: &'static mut Self::Page, ) -> Result<(), (ErrorCode, &'static mut Self::Page)>
Read a page of flash into the buffer.
Auto Trait Implementations§
impl<'a> !Freeze for AT24C<'a>
impl<'a> !RefUnwindSafe for AT24C<'a>
impl<'a> !Send for AT24C<'a>
impl<'a> !Sync for AT24C<'a>
impl<'a> Unpin for AT24C<'a>
impl<'a> !UnwindSafe for AT24C<'a>
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