pub struct PrinterWriter<'d, D: Driver<'d>> { /* private fields */ }Expand description
Printer writer half (sends responses back to host).
Implementations§
Source§impl<'d, D: Driver<'d>> PrinterWriter<'d, D>
impl<'d, D: Driver<'d>> PrinterWriter<'d, D>
Trait Implementations§
Source§impl<'d, D: Driver<'d>> ErrorType for PrinterWriter<'d, D>
Available on crate feature embedded-io only.
impl<'d, D: Driver<'d>> ErrorType for PrinterWriter<'d, D>
Available on crate feature
embedded-io only.Source§type Error = PrinterError
type Error = PrinterError
Error type of all the IO operations on this type.
Source§impl<'d, D: Driver<'d>> Write for PrinterWriter<'d, D>
Available on crate feature embedded-io only.
impl<'d, D: Driver<'d>> Write for PrinterWriter<'d, D>
Available on crate feature
embedded-io only.Source§async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
async fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Auto Trait Implementations§
impl<'d, D> Forget for PrinterWriter<'d, D>
impl<'d, D> Freeze for PrinterWriter<'d, D>
impl<'d, D> Move for PrinterWriter<'d, D>
impl<'d, D> RefUnwindSafe for PrinterWriter<'d, D>
impl<'d, D> Send for PrinterWriter<'d, D>
impl<'d, D> Sync for PrinterWriter<'d, D>
impl<'d, D> Unpin for PrinterWriter<'d, D>
impl<'d, D> UnsafeUnpin for PrinterWriter<'d, D>
impl<'d, D> UnwindSafe for PrinterWriter<'d, 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