[][src]Struct mla::helpers::StreamWriter

pub struct StreamWriter<'a, 'b, W: Write> { /* fields omitted */ }

Provides a Write interface on an ArchiveWriter file

This interface is meant to be used in situations where length of the data source is unknown, such as a stream. One can then use the io::copy facilities to perform multiples block addition in the archive

Implementations

impl<'a, 'b, W: Write> StreamWriter<'a, 'b, W>[src]

pub fn new(
    archive: &'b mut ArchiveWriter<'a, W>,
    file_id: ArchiveFileID
) -> Self
[src]

Trait Implementations

impl<'a, 'b, W: Write> Write for StreamWriter<'a, 'b, W>[src]

Auto Trait Implementations

impl<'a, 'b, W> !RefUnwindSafe for StreamWriter<'a, 'b, W>[src]

impl<'a, 'b, W> !Send for StreamWriter<'a, 'b, W>[src]

impl<'a, 'b, W> !Sync for StreamWriter<'a, 'b, W>[src]

impl<'a, 'b, W> Unpin for StreamWriter<'a, 'b, W> where
    'a: 'b, 
[src]

impl<'a, 'b, W> !UnwindSafe for StreamWriter<'a, 'b, W>[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> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

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