Trait Writer

Source
pub trait Writer {
    type Err = Error;

    // Required method
    fn write_bsa<DS, D, W>(&self, dirs: DS, out: W) -> Result<(), Self::Err>
       where D: DataSource,
             DS: IntoIterator<Item = Dir<D>>,
             W: Write + Seek;
}

Provided Associated Types§

Required Methods§

Source

fn write_bsa<DS, D, W>(&self, dirs: DS, out: W) -> Result<(), Self::Err>
where D: DataSource, DS: IntoIterator<Item = Dir<D>>, W: Write + Seek,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Writer for V001

Source§

impl Writer for SomeWriter

Source§

type Err = ForSomeVersion<<V001 as Writer>::Err, ForSomeVersion10X<<WriterV10X<V103, ZLib, ArchiveFlagV103, DirRecord> as Writer>::Err, <WriterV10X<V104, ZLib, ArchiveFlagV104, DirRecord> as Writer>::Err, <WriterV10X<V105, Lz4, ArchiveFlagV104, RawDirRecord> as Writer>::Err>>

Source§

impl Writer for SomeWriterV10X

Source§

type Err = ForSomeVersion10X<<WriterV10X<V103, ZLib, ArchiveFlagV103, DirRecord> as Writer>::Err, <WriterV10X<V104, ZLib, ArchiveFlagV104, DirRecord> as Writer>::Err, <WriterV10X<V105, Lz4, ArchiveFlagV104, RawDirRecord> as Writer>::Err>