[][src]Enum webdav_handler::fs::FsError

pub enum FsError {
    NotImplemented,
    GeneralFailure,
    Exists,
    NotFound,
    Forbidden,
    InsufficientStorage,
    LoopDetected,
    PathTooLong,
    TooLarge,
    IsRemote,
}

Errors generated by a filesystem implementation.

These are more result-codes than errors, really.

Variants

NotImplemented

Operation not implemented (501)

GeneralFailure

Something went wrong (500)

Exists

tried to create something, but it existed (405 / 412) (yes, 405. RFC4918 says so)

NotFound

File / Directory not found (404)

Forbidden

Not allowed (403)

InsufficientStorage

Out of space (507)

LoopDetected

Symbolic link loop detected (ELOOP) (508)

PathTooLong

The path is too long (ENAMETOOLONG) (414)

TooLarge

The file being PUT is too large (413)

IsRemote

Trying to MOVE over a mount boundary (EXDEV) (502)

Trait Implementations

impl Clone for FsError[src]

impl Copy for FsError[src]

impl Debug for FsError[src]

impl Display for FsError[src]

impl Error for FsError[src]

impl<'_> From<&'_ Error> for FsError[src]

impl From<Error> for FsError[src]

impl From<FsError> for Error[src]

impl PartialEq<FsError> for FsError[src]

impl StructuralPartialEq for FsError[src]

Auto Trait Implementations

impl RefUnwindSafe for FsError

impl Send for FsError

impl Sync for FsError

impl Unpin for FsError

impl UnwindSafe for FsError

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> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,