pub struct HttpsError { /* private fields */ }
Available on crate feature
dns-over-https-rustls
and (crate features dns-over-https-rustls
or dns-over-h3
) only.Expand description
The error type for errors that get returned in the crate
Implementations§
Trait Implementations§
Source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
Source§fn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ProtoError> for Error
impl From<ProtoError> for Error
Source§fn from(msg: ProtoError) -> Self
fn from(msg: ProtoError) -> Self
Converts to this type from the input type.
Source§impl From<ToStrError> for Error
impl From<ToStrError> for Error
Source§fn from(err: ToStrError) -> Self
fn from(err: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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