Struct riker::system::IoAddress [−][src]
pub struct IoAddress(pub String);
Trait Implementations
impl Clone for IoAddress
[src]
impl Clone for IoAddress
fn clone(&self) -> IoAddress
[src]
fn clone(&self) -> IoAddress
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 Debug for IoAddress
[src]
impl Debug for IoAddress
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 PartialEq for IoAddress
[src]
impl PartialEq for IoAddress
fn eq(&self, other: &IoAddress) -> bool
[src]
fn eq(&self, other: &IoAddress) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IoAddress) -> bool
[src]
fn ne(&self, other: &IoAddress) -> bool
This method tests for !=
.
impl FromStr for IoAddress
[src]
impl FromStr for IoAddress
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl From<SocketAddr> for IoAddress
[src]
impl From<SocketAddr> for IoAddress
fn from(addr: SocketAddr) -> IoAddress
[src]
fn from(addr: SocketAddr) -> IoAddress
Performs the conversion.