pub struct Logger { /* private fields */ }Implementations§
Source§impl Logger
impl Logger
pub fn new() -> Self
pub async fn log_partial_page( &mut self, flash: &mut W25Q<impl SpiHandle>, msg: &[u8], ) -> Result<(), ErrorKind>
pub async fn log( &mut self, flash: &mut W25Q<impl SpiHandle>, msg: &[u8], ) -> Result<(), ErrorKind>
pub async fn erase( &mut self, flash: &mut W25Q<impl SpiHandle>, ) -> Result<(), ErrorKind>
pub async fn reset_address(&mut self) -> Result<(), ErrorKind>
Auto Trait Implementations§
impl Freeze for Logger
impl RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl UnsafeUnpin for Logger
impl UnwindSafe for Logger
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