Enum keeshond_datapack::source::PackageError [−][src]
pub enum PackageError { Generic, IoError(Error), PrefixMismatch(StripPrefixError), NotSupported, }
Expand description
An error returned when failing to access a package in a Source
Variants
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.
The operation is not supported by this implementation
Trait Implementations
impl Debug for PackageError
[src]
impl Debug for PackageError
[src]impl Display for PackageError
[src]
impl Display for PackageError
[src]impl Fail for PackageError
[src]
impl Fail for PackageError
[src]fn cause(&self) -> Option<&dyn Fail>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
impl From<Error> for PackageError
[src]
impl From<Error> for PackageError
[src]fn from(error: Error) -> PackageError
[src]
fn from(error: Error) -> PackageError
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PackageError
impl Send for PackageError
impl Sync for PackageError
impl Unpin for PackageError
impl !UnwindSafe for PackageError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more