[][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 (401)

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 From<FsError> for Error[src]

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

impl From<Error> for FsError[src]

impl Copy for FsError[src]

impl Clone for FsError[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<FsError> for FsError[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Debug for FsError[src]

impl Display for FsError[src]

impl Error for FsError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0
[src]

Gets the TypeId of self

Auto Trait Implementations

impl Send for FsError

impl Sync for FsError

Blanket Implementations

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

impl<T> From for T[src]

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 for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self

impl<T> Erased for T