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

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.

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

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.