Struct trust_dns_proto::error::DnsSecError
source · pub struct DnsSecError { /* private fields */ }
Expand description
The error type for dnssec errors that get returned in the crate
Implementations§
source§impl DnsSecError
impl DnsSecError
sourcepub fn kind(&self) -> &DnsSecErrorKind
pub fn kind(&self) -> &DnsSecErrorKind
Get the kind of the error
Trait Implementations§
source§impl Clone for DnsSecError
impl Clone for DnsSecError
source§fn clone(&self) -> DnsSecError
fn clone(&self) -> DnsSecError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DnsSecError
impl Debug for DnsSecError
source§impl Display for DnsSecError
impl Display for DnsSecError
source§impl Error for DnsSecError
impl Error for DnsSecError
1.30.0 · 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<&'static str> for DnsSecError
impl From<&'static str> for DnsSecError
source§impl From<DnsSecErrorKind> for DnsSecError
impl From<DnsSecErrorKind> for DnsSecError
source§fn from(kind: DnsSecErrorKind) -> Self
fn from(kind: DnsSecErrorKind) -> Self
Converts to this type from the input type.
source§impl From<ProtoError> for DnsSecError
impl From<ProtoError> for DnsSecError
source§fn from(e: ProtoError) -> Self
fn from(e: ProtoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DnsSecError
impl !RefUnwindSafe for DnsSecError
impl Send for DnsSecError
impl Sync for DnsSecError
impl Unpin for DnsSecError
impl !UnwindSafe for DnsSecError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)