Enum dav_server::fs::FsError
source · [−]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
sourceimpl Error for FsError
impl Error for FsError
sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
replaced by Error::source, which can support downcasting
impl Copy for FsError
impl StructuralPartialEq for FsError
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more