pub enum DavPutPlanError {
MethodNotAllowed,
Protocol(DavProtocolError),
PreconditionFailed(DavConditionalPlan),
InvalidRepresentation,
PreconditionRequired,
PartialTargetMissing,
CollectionTarget,
Versioning(DavVersioningPrecondition),
}Expand description
Failure while planning a PUT request.
Variants§
MethodNotAllowed
Protocol(DavProtocolError)
PreconditionFailed(DavConditionalPlan)
InvalidRepresentation
PreconditionRequired
PartialTargetMissing
CollectionTarget
Versioning(DavVersioningPrecondition)
Trait Implementations§
Source§impl Debug for DavPutPlanError
impl Debug for DavPutPlanError
Source§impl Display for DavPutPlanError
impl Display for DavPutPlanError
Source§impl Error for DavPutPlanError
impl Error for DavPutPlanError
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 DavPutPlanError
impl From<DavProtocolError> for DavPutPlanError
Source§fn from(source: DavProtocolError) -> Self
fn from(source: DavProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<DavVersioningPrecondition> for DavPutPlanError
impl From<DavVersioningPrecondition> for DavPutPlanError
Source§fn from(source: DavVersioningPrecondition) -> Self
fn from(source: DavVersioningPrecondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DavPutPlanError
impl RefUnwindSafe for DavPutPlanError
impl Send for DavPutPlanError
impl Sync for DavPutPlanError
impl Unpin for DavPutPlanError
impl UnwindSafe for DavPutPlanError
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