pub enum HttpCertificationError {
MalformedUrl(String),
Utf8ConversionError(FromUtf8Error),
}
Expand description
HTTP certification error type.
Variants§
MalformedUrl(String)
The URL was malformed and could not be parsed correctly.
Utf8ConversionError(FromUtf8Error)
Error converting UTF-8 string.
Trait Implementations§
source§impl Debug for HttpCertificationError
impl Debug for HttpCertificationError
source§impl Display for HttpCertificationError
impl Display for HttpCertificationError
source§impl Error for HttpCertificationError
impl Error for HttpCertificationError
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<FromUtf8Error> for HttpCertificationError
impl From<FromUtf8Error> for HttpCertificationError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for HttpCertificationError
impl Send for HttpCertificationError
impl Sync for HttpCertificationError
impl Unpin for HttpCertificationError
impl UnwindSafe for HttpCertificationError
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