Enum fs_extra::error::ErrorKind[][src]

pub enum ErrorKind {
    NotFound,
    PermissionDenied,
    AlreadyExists,
    Interrupted,
    InvalidFolder,
    InvalidFile,
    InvalidFileName,
    InvalidPath,
    Io(IoError),
    StripPrefix(StripPrefixError),
    OsString(OsString),
    Other,
}

A list specifying general categories of fs_extra error.

Variants

NotFound

An entity was not found.

PermissionDenied

The operation lacked the necessary privileges to complete.

AlreadyExists

An entity already exists.

Interrupted

This operation was interrupted.

InvalidFolder

Path does not a directory.

InvalidFile

Path does not a file.

InvalidFileName

Invalid file name.

InvalidPath

Invalid path.

Io(IoError)

Any I/O error.

StripPrefix(StripPrefixError)

Any StripPrefix error.

OsString(OsString)

Any OsString error.

Other

Any fs_extra error not part of this list.

Trait Implementations

impl Debug for ErrorKind[src]

Auto Trait Implementations

impl !RefUnwindSafe for ErrorKind

impl Send for ErrorKind

impl Sync for ErrorKind

impl Unpin for ErrorKind

impl !UnwindSafe for ErrorKind

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, 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.