Struct sgx_tstd::net::AddrParseError [−][src]
pub struct AddrParseError(_);
An error which can be returned when parsing an IP address or a socket address.
This error is used as the error type for the [FromStr
] implementation for
IpAddr
, Ipv4Addr
, Ipv6Addr
, SocketAddr
, SocketAddrV4
, and
SocketAddrV6
.
Trait Implementations
impl Debug for AddrParseError
[src]
impl Debug for AddrParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AddrParseError
[src]
impl Clone for AddrParseError
fn clone(&self) -> AddrParseError
[src]
fn clone(&self) -> AddrParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for AddrParseError
[src]
impl PartialEq for AddrParseError
fn eq(&self, other: &AddrParseError) -> bool
[src]
fn eq(&self, other: &AddrParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AddrParseError) -> bool
[src]
fn ne(&self, other: &AddrParseError) -> bool
This method tests for !=
.
impl Eq for AddrParseError
[src]
impl Eq for AddrParseError
impl Display for AddrParseError
[src]
impl Display for AddrParseError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for AddrParseError
[src]
impl Error for AddrParseError
Auto Trait Implementations
impl Send for AddrParseError
impl Send for AddrParseError
impl Sync for AddrParseError
impl Sync for AddrParseError