[][src]Struct framestream::EncoderWriter

pub struct EncoderWriter<W: Write> { /* fields omitted */ }

Implementations

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

pub fn new(writer: W, content_type: Option<String>) -> EncoderWriter<W>

Notable traits for EncoderWriter<W>

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

pub fn finish(self) -> Result<W>[src]

pub fn reset(&mut self, writer: W) -> Result<W>[src]

pub fn into_inner(self) -> W[src]

Trait Implementations

impl<W: Clone + Write> Clone for EncoderWriter<W>[src]

impl<W: Debug + Write> Debug for EncoderWriter<W>[src]

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

Auto Trait Implementations

impl<W> RefUnwindSafe for EncoderWriter<W> where
    W: RefUnwindSafe
[src]

impl<W> Send for EncoderWriter<W> where
    W: Send
[src]

impl<W> Sync for EncoderWriter<W> where
    W: Sync
[src]

impl<W> Unpin for EncoderWriter<W> where
    W: Unpin
[src]

impl<W> UnwindSafe for EncoderWriter<W> where
    W: UnwindSafe
[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<W> WriteBytesExt for W where
    W: Write + ?Sized
[src]