Enum dav_server::fs::FsError [−][src]
pub enum FsError {
NotImplemented,
GeneralFailure,
Exists,
NotFound,
Forbidden,
InsufficientStorage,
LoopDetected,
PathTooLong,
TooLarge,
IsRemote,
}Expand description
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
use the Display impl or to_string()
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for FsError
impl UnwindSafe for FsError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
