pub enum DavMutationStepError {
Locked {
affected_path: DavPath,
lock_root: DavPath,
},
Status {
affected_path: DavPath,
status: u16,
},
}Expand description
Typed failure returned by the authoritative product mutation port.
Variants§
Implementations§
Source§impl DavMutationStepError
impl DavMutationStepError
pub fn locked(affected_path: DavPath, lock_root: DavPath) -> Self
pub fn status(affected_path: DavPath, status: u16) -> Self
pub fn backend(affected_path: DavPath) -> Self
Sourcepub fn from_backend(affected_path: DavPath, error: &DavBackendError) -> Self
pub fn from_backend(affected_path: DavPath, error: &DavBackendError) -> Self
Maps one typed backend failure to the canonical resource status.
Trait Implementations§
Source§impl Clone for DavMutationStepError
impl Clone for DavMutationStepError
Source§fn clone(&self) -> DavMutationStepError
fn clone(&self) -> DavMutationStepError
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 DavMutationStepError
impl Debug for DavMutationStepError
Source§impl PartialEq for DavMutationStepError
impl PartialEq for DavMutationStepError
impl Eq for DavMutationStepError
impl StructuralPartialEq for DavMutationStepError
Auto Trait Implementations§
impl Freeze for DavMutationStepError
impl RefUnwindSafe for DavMutationStepError
impl Send for DavMutationStepError
impl Sync for DavMutationStepError
impl Unpin for DavMutationStepError
impl UnwindSafe for DavMutationStepError
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.