pub enum DavError {
Network(Error),
Xml(Error),
BadStatusCode(StatusCode),
InvalidInput(Error),
Auth(AuthError),
InvalidResponse(Box<dyn Error + Send + Sync>),
}Expand description
A generic error for WebDav operations.
Variants§
Network(Error)
Xml(Error)
BadStatusCode(StatusCode)
InvalidInput(Error)
Auth(AuthError)
InvalidResponse(Box<dyn Error + Send + Sync>)
Trait Implementations§
source§impl Error for DavError
impl Error for DavError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DavError> for BootstrapError
impl From<DavError> for BootstrapError
source§impl From<DavError> for FindCurrentUserPrincipalError
impl From<DavError> for FindCurrentUserPrincipalError
source§impl From<StatusCode> for DavError
impl From<StatusCode> for DavError
source§fn from(status: StatusCode) -> Self
fn from(status: StatusCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DavError
impl Send for DavError
impl Sync for DavError
impl Unpin for DavError
impl !UnwindSafe for DavError
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
source§fn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.