pub struct Writer64K<'a> { /* private fields */ }Expand description
A writer on a 64KiB flash device.
This type allows writing data on the range specified upon creation.
If the memory being written to has been written to previously without being erased, the writes will not succeed.
Trait Implementations§
Source§impl Write for Writer64K<'_>
impl Write for Writer64K<'_>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Source§fn flush(&mut self) -> Result<(), Self::Error>
fn flush(&mut self) -> Result<(), Self::Error>
Flush this output stream, blocking until all intermediately buffered contents reach their destination.
Auto Trait Implementations§
impl<'a> Freeze for Writer64K<'a>
impl<'a> RefUnwindSafe for Writer64K<'a>
impl<'a> !Send for Writer64K<'a>
impl<'a> !Sync for Writer64K<'a>
impl<'a> Unpin for Writer64K<'a>
impl<'a> UnwindSafe for Writer64K<'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