pub enum DavParentCollectionError {
MethodNotAllowed,
Conflict,
Backend(DavBackendError),
}Expand description
Failure while checking the canonical parent collection of a mutation target.
Variants§
MethodNotAllowed
The target is the mount root and therefore has no mutable parent.
Conflict
The canonical parent is missing or is not a collection.
Backend(DavBackendError)
The filesystem backend could not resolve the parent.
Trait Implementations§
Source§impl Clone for DavParentCollectionError
impl Clone for DavParentCollectionError
Source§fn clone(&self) -> DavParentCollectionError
fn clone(&self) -> DavParentCollectionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DavParentCollectionError
impl Debug for DavParentCollectionError
Source§impl Display for DavParentCollectionError
impl Display for DavParentCollectionError
Source§impl Error for DavParentCollectionError
impl Error for DavParentCollectionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DavBackendError> for DavParentCollectionError
impl From<DavBackendError> for DavParentCollectionError
Source§fn from(source: DavBackendError) -> Self
fn from(source: DavBackendError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DavParentCollectionError
impl PartialEq for DavParentCollectionError
impl Eq for DavParentCollectionError
impl StructuralPartialEq for DavParentCollectionError
Auto Trait Implementations§
impl Freeze for DavParentCollectionError
impl RefUnwindSafe for DavParentCollectionError
impl Send for DavParentCollectionError
impl Sync for DavParentCollectionError
impl Unpin for DavParentCollectionError
impl UnwindSafe for DavParentCollectionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.