[][src]Enum mft::err::Error

pub enum Error {
    IoError {
        source: Error,
    },
    FailedToOpenFile {
        path: PathBuf,
        source: Error,
    },
    InvalidFilename,
    InvalidEntrySignature {
        bad_sig: u32,
    },
    UnhandledResidentFlag {
        flag: u8,
        offset: u64,
    },
    InvalidUsaOffset {
        offset: u16,
    },
    Any {
        detail: String,
    },
}

Variants

IoError

Fields of IoError

source: Error
FailedToOpenFile

Fields of FailedToOpenFile

path: PathBufsource: Error
InvalidFilenameInvalidEntrySignature

Fields of InvalidEntrySignature

bad_sig: u32
UnhandledResidentFlag

Fields of UnhandledResidentFlag

flag: u8offset: u64
InvalidUsaOffset

Fields of InvalidUsaOffset

offset: u16
Any

Fields of Any

detail: String

Trait Implementations

impl From<Context<Error, IoError>> for Error[src]

impl<__T0> From<Context<Error, FailedToOpenFile<__T0>>> for Error where
    __T0: Into<PathBuf>, 
[src]

impl From<Context<NoneError, InvalidFilename>> for Error[src]

impl<__T0> From<Context<NoneError, InvalidEntrySignature<__T0>>> for Error where
    __T0: Into<u32>, 
[src]

impl<__T0, __T1> From<Context<NoneError, UnhandledResidentFlag<__T0, __T1>>> for Error where
    __T0: Into<u8>,
    __T1: Into<u64>, 
[src]

impl<__T0> From<Context<NoneError, InvalidUsaOffset<__T0>>> for Error where
    __T0: Into<u16>, 
[src]

impl<__T0> From<Context<NoneError, Any<__T0>>> for Error where
    __T0: Into<String>, 
[src]

impl From<Error> for Error[src]

impl Display for Error[src]

impl Debug for Error[src]

impl Error for Error where
    Self: Debug + Display
[src]

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0
[src]

Gets the TypeId of self

impl ErrorCompat for Error[src]

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?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.

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

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

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