pub struct DnsSecError { /* private fields */ }
Available on crate feature
dnssec
only.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)>
Returns 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<DnsSecError> for ProofErrorKind
impl From<DnsSecError> for ProofErrorKind
Source§fn from(source: DnsSecError) -> Self
fn from(source: DnsSecError) -> Self
Converts to this type from the input type.
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<ErrorStack> for DnsSecError
Available on crate feature dnssec-openssl
only.
impl From<ErrorStack> for DnsSecError
Available on crate feature
dnssec-openssl
only.Source§fn from(e: SslErrorStack) -> Self
fn from(e: SslErrorStack) -> Self
Converts to this type from the input type.
Source§impl From<KeyRejected> for DnsSecError
Available on crate feature dnssec-ring
only.
impl From<KeyRejected> for DnsSecError
Available on crate feature
dnssec-ring
only.Source§fn from(e: KeyRejected) -> Self
fn from(e: KeyRejected) -> 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.
Source§impl From<String> for DnsSecError
impl From<String> for DnsSecError
Source§impl From<Unspecified> for DnsSecError
Available on crate feature dnssec-ring
only.
impl From<Unspecified> for DnsSecError
Available on crate feature
dnssec-ring
only.Source§fn from(e: Unspecified) -> Self
fn from(e: Unspecified) -> 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)