[][src]Enum pelite::resources::FindError

pub enum FindError {
    Pe(Error),
    Bad8Path,
    NotFound,
    NoRootPath,
    UnDataEntry,
    UnDirectory,
}

Find error.

Variants

Pe(Error)

An error happened when reading the underlying resources.

This error indicates the resources are corrupt.

Bad8Path

The resources work with UTF-16 path names.

For this to work the given path must be valid unicode for the path comparison to make sense.

This error means the given path contained non-unicode parts.

NotFound

The requested data entry or directory doesn't exist.

NoRootPath

Paths from the resources root must start with a / or \.

UnDataEntry

Encountered a data entry when expecting a directory.

This error means the given path contained a directory name which is actually a data entry.

UnDirectory

Encountered a directory when expecting a data entry.

Trait Implementations

impl Eq for FindError[src]

impl Clone for FindError[src]

impl PartialEq<FindError> for FindError[src]

impl From<Error> for FindError[src]

impl From<Utf8Error> for FindError[src]

impl Copy for FindError[src]

impl Debug for FindError[src]

impl Display for FindError[src]

impl Error for FindError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for 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]