pub struct EmbeddedIo<W>(pub W);Available on crate features
embedded-io-async or embedded-io only.Expand description
Tuple Fields§
§0: WTrait Implementations§
Source§impl<W: Write + Seek> AsyncPatchSink for EmbeddedIo<W>
Available on crate feature embedded-io-async only.
impl<W: Write + Seek> AsyncPatchSink for EmbeddedIo<W>
Available on crate feature
embedded-io-async only.Source§impl<W: Write> AsyncSink for EmbeddedIo<W>
Available on crate feature embedded-io-async only.
impl<W: Write> AsyncSink for EmbeddedIo<W>
Available on crate feature
embedded-io-async only.Source§type Error = EmbeddedIoError<<W as ErrorType>::Error>
type Error = EmbeddedIoError<<W as ErrorType>::Error>
Available on crate feature
async only.Why a write failed.
Source§async fn write(&mut self, bytes: &[u8]) -> Result<(), Self::Error>
async fn write(&mut self, bytes: &[u8]) -> Result<(), Self::Error>
Available on crate feature
async only.Writes all of
bytes, or fails. Read moreSource§impl<W: Debug> Debug for EmbeddedIo<W>
impl<W: Debug> Debug for EmbeddedIo<W>
Source§impl<W: Write + Seek> PatchSink for EmbeddedIo<W>
Available on crate feature embedded-io only.
impl<W: Write + Seek> PatchSink for EmbeddedIo<W>
Available on crate feature
embedded-io only.Auto Trait Implementations§
impl<W> Forget for EmbeddedIo<W>
impl<W> Freeze for EmbeddedIo<W>where
W: Freeze,
impl<W> Move for EmbeddedIo<W>
impl<W> RefUnwindSafe for EmbeddedIo<W>where
W: RefUnwindSafe,
impl<W> Send for EmbeddedIo<W>where
W: Send,
impl<W> Sync for EmbeddedIo<W>where
W: Sync,
impl<W> Unpin for EmbeddedIo<W>where
W: Unpin,
impl<W> UnsafeUnpin for EmbeddedIo<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for EmbeddedIo<W>where
W: UnwindSafe,
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