pub enum DavPatchPlanError {
MethodNotAllowed,
UnsupportedMediaType,
PreconditionRequired,
Protocol(DavProtocolError),
PreconditionFailed(DavConditionalPlan),
InvalidRepresentation,
}Expand description
Failure while selecting and validating an RFC 5789 PATCH request.
Variants§
MethodNotAllowed
UnsupportedMediaType
PreconditionRequired
Protocol(DavProtocolError)
PreconditionFailed(DavConditionalPlan)
InvalidRepresentation
Trait Implementations§
Source§impl Debug for DavPatchPlanError
impl Debug for DavPatchPlanError
Source§impl Display for DavPatchPlanError
impl Display for DavPatchPlanError
Source§impl Error for DavPatchPlanError
impl Error for DavPatchPlanError
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<DavProtocolError> for DavPatchPlanError
impl From<DavProtocolError> for DavPatchPlanError
Source§fn from(source: DavProtocolError) -> Self
fn from(source: DavProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DavPatchPlanError
impl RefUnwindSafe for DavPatchPlanError
impl Send for DavPatchPlanError
impl Sync for DavPatchPlanError
impl Unpin for DavPatchPlanError
impl UnwindSafe for DavPatchPlanError
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