[][src]Struct serde_cbor::ser::IoWrite

pub struct IoWrite<W>(_);

A wrapper for types that implement std::io::Write to implement the local Write trait.

Methods

impl<W: Write> IoWrite<W>[src]

pub fn new(w: W) -> IoWrite<W>[src]

Wraps an io::Write writer to make it compatible with Write

Trait Implementations

impl<W: Debug> Debug for IoWrite<W>[src]

impl<W: Write> Write for IoWrite<W>[src]

type Error = Error

Auto Trait Implementations

impl<W> RefUnwindSafe for IoWrite<W> where
    W: RefUnwindSafe

impl<W> Send for IoWrite<W> where
    W: Send

impl<W> Sync for IoWrite<W> where
    W: Sync

impl<W> Unpin for IoWrite<W> where
    W: Unpin

impl<W> UnwindSafe for IoWrite<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.