[][src]Struct mla::ArchiveFailSafeReader

pub struct ArchiveFailSafeReader<'a, R: 'a + Read> { /* fields omitted */ }

Implementations

impl<'b, R: 'b + Read> ArchiveFailSafeReader<'b, R>[src]

pub fn from_config(
    mut src: R,
    mut config: ArchiveReaderConfig
) -> Result<Self, Error>
[src]

pub fn new(src: R) -> Result<Self, Error>[src]

pub fn convert_to_archive<W: Write>(
    &mut self,
    output: &mut ArchiveWriter<'_, W>
) -> Result<FailSafeReadError, Error>
[src]

Fail-safe / best-effort conversion of the current archive to a correct one. On success, returns the reason conversion terminates (ideally, EndOfOriginalArchiveData)

Auto Trait Implementations

impl<'a, R> !RefUnwindSafe for ArchiveFailSafeReader<'a, R>[src]

impl<'a, R> !Send for ArchiveFailSafeReader<'a, R>[src]

impl<'a, R> !Sync for ArchiveFailSafeReader<'a, R>[src]

impl<'a, R> Unpin for ArchiveFailSafeReader<'a, R>[src]

impl<'a, R> !UnwindSafe for ArchiveFailSafeReader<'a, R>[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>,