pub struct ForeignWritable<T: Write>(pub T);Expand description
Wrapper around any embedded_io::Write that implements additional Write-ish traits.
This implements various CBOR encoders’ custom write traits (currently only [ciborium_io::Write]).
Tuple Fields§
§0: TAuto Trait Implementations§
impl<T> Freeze for ForeignWritable<T>where
T: Freeze,
impl<T> RefUnwindSafe for ForeignWritable<T>where
T: RefUnwindSafe,
impl<T> Send for ForeignWritable<T>where
T: Send,
impl<T> Sync for ForeignWritable<T>where
T: Sync,
impl<T> Unpin for ForeignWritable<T>where
T: Unpin,
impl<T> UnwindSafe for ForeignWritable<T>where
T: 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