[][src]Enum keeshond_datapack::source::PackageError

pub enum PackageError {
    Generic,
    IoError(Error),
    PrefixMismatch(StripPrefixError),
    NotSupported,
}

An error returned when failing to access a package in a Source

Variants

Generic

An error occurred while iterating through the packages, but no more information is available. You should generally avoid using this unless you have to.

IoError(Error)

An error of type std::io::Error occurred.

PrefixMismatch(StripPrefixError)

A package item's path does not belong to the package's path.

NotSupported

The operation is not supported by this implementation

Trait Implementations

impl Debug for PackageError[src]

impl Display for PackageError[src]

impl Fail for PackageError[src]

impl From<Error> for PackageError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[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[src]

type Output = T

Should always be Self

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