Struct inet2_addr::NoOnionSupportError
source · pub struct NoOnionSupportError;
Expand description
Address type do not support ONION address format and can be used only with IPv4 or IPv6 addresses
Trait Implementations§
source§impl Clone for NoOnionSupportError
impl Clone for NoOnionSupportError
source§fn clone(&self) -> NoOnionSupportError
fn clone(&self) -> NoOnionSupportError
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 NoOnionSupportError
impl Debug for NoOnionSupportError
source§impl Display for NoOnionSupportError
impl Display for NoOnionSupportError
source§impl Error for NoOnionSupportError
impl Error for NoOnionSupportError
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<NoOnionSupportError> for AddrParseError
impl From<NoOnionSupportError> for AddrParseError
source§fn from(v: NoOnionSupportError) -> Self
fn from(v: NoOnionSupportError) -> Self
Converts to this type from the input type.
source§impl From<NoOnionSupportError> for String
impl From<NoOnionSupportError> for String
source§fn from(err: NoOnionSupportError) -> Self
fn from(err: NoOnionSupportError) -> Self
Converts to this type from the input type.
source§impl Hash for NoOnionSupportError
impl Hash for NoOnionSupportError
source§impl Ord for NoOnionSupportError
impl Ord for NoOnionSupportError
source§fn cmp(&self, other: &NoOnionSupportError) -> Ordering
fn cmp(&self, other: &NoOnionSupportError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NoOnionSupportError> for NoOnionSupportError
impl PartialEq<NoOnionSupportError> for NoOnionSupportError
source§fn eq(&self, other: &NoOnionSupportError) -> bool
fn eq(&self, other: &NoOnionSupportError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NoOnionSupportError> for NoOnionSupportError
impl PartialOrd<NoOnionSupportError> for NoOnionSupportError
source§fn partial_cmp(&self, other: &NoOnionSupportError) -> Option<Ordering>
fn partial_cmp(&self, other: &NoOnionSupportError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more