Struct webpki::InvalidDnsNameError
source · pub struct InvalidDnsNameError;
Expand description
An error indicating that a DnsNameRef
could not built because the input
is not a syntactically-valid DNS Name.
Trait Implementations§
source§impl Clone for InvalidDnsNameError
impl Clone for InvalidDnsNameError
source§fn clone(&self) -> InvalidDnsNameError
fn clone(&self) -> InvalidDnsNameError
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 InvalidDnsNameError
impl Debug for InvalidDnsNameError
source§impl Display for InvalidDnsNameError
impl Display for InvalidDnsNameError
source§impl Error for InvalidDnsNameError
impl Error for InvalidDnsNameError
Requires the std
feature.
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 PartialEq<InvalidDnsNameError> for InvalidDnsNameError
impl PartialEq<InvalidDnsNameError> for InvalidDnsNameError
source§fn eq(&self, other: &InvalidDnsNameError) -> bool
fn eq(&self, other: &InvalidDnsNameError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.