Struct cassandra_cpp::Inet
[−]
[src]
#[repr(C)]pub struct Inet(_);
Cassandra's version of an IP address
Methods
impl Inet
[src]
pub fn cass_inet_init_v4(address: &Ipv4Addr) -> Inet
[src]
Constructs an inet v4 object.
pub fn cass_inet_init_v6(address: &Ipv6Addr) -> Inet
[src]
Constructs an inet v6 object.
Trait Implementations
impl Debug for Inet
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for Inet
[src]
impl<'a> From<&'a IpAddr> for Inet
[src]
impl FromStr for Inet
[src]
The types of errors that can occur when trying to parse an Inet String
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
Parses a string s
to return a value of this type. Read more