Enum libdav::CheckSupportError
source · pub enum CheckSupportError {
MissingHeader,
NotAdvertised,
HeaderNotAscii(ToStrError),
Request(RequestError),
InvalidInput(Error),
BadStatusCode(StatusCode),
}
Expand description
Returned when checking support for a feature encounters an error.
Variants§
MissingHeader
NotAdvertised
HeaderNotAscii(ToStrError)
Request(RequestError)
InvalidInput(Error)
BadStatusCode(StatusCode)
Trait Implementations§
source§impl Debug for CheckSupportError
impl Debug for CheckSupportError
source§impl Display for CheckSupportError
impl Display for CheckSupportError
source§impl Error for CheckSupportError
impl Error for CheckSupportError
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<Error> for CheckSupportError
impl From<Error> for CheckSupportError
source§impl From<RequestError> for CheckSupportError
impl From<RequestError> for CheckSupportError
source§fn from(source: RequestError) -> Self
fn from(source: RequestError) -> Self
Converts to this type from the input type.
source§impl From<StatusCode> for CheckSupportError
impl From<StatusCode> for CheckSupportError
source§fn from(status: StatusCode) -> Self
fn from(status: StatusCode) -> Self
Converts to this type from the input type.
source§impl From<ToStrError> for CheckSupportError
impl From<ToStrError> for CheckSupportError
source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CheckSupportError
impl !RefUnwindSafe for CheckSupportError
impl Send for CheckSupportError
impl Sync for CheckSupportError
impl Unpin for CheckSupportError
impl !UnwindSafe for CheckSupportError
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> 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>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.