[][src]Enum file_structure::FileStructureError

pub enum FileStructureError {
    ReadError {
        source: Error,
    },
    WriteError {
        source: Error,
    },
    NotFoundError {
        path: PathBuf,
    },
    NotADirectoryError {
        path: PathBuf,
    },
    NotASymlinkError {
        path: PathBuf,
    },
    IoError(Error),
}

Variants

ReadError

Fields of ReadError

source: Error
WriteError

Fields of WriteError

source: Error
NotFoundError

Fields of NotFoundError

path: PathBuf
NotADirectoryError

Fields of NotADirectoryError

path: PathBuf
NotASymlinkError

Fields of NotASymlinkError

path: PathBuf
IoError(Error)

Trait Implementations

impl Debug for FileStructureError[src]

impl Display for FileStructureError[src]

Ready for displaying errors to end users! Format: "error name: more details: more details"

impl Error for FileStructureError[src]

impl From<Error> for FileStructureError[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> 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.