Struct cassandra_cpp::Inet
[−]
[src]
#[repr(C)]pub struct Inet(_);
Cassandra's version of an IP address
Methods
impl Inet
[src]
fn cass_inet_init_v4(address: Ipv4Addr) -> Inet
[src]
Constructs an inet v4 object.
fn cass_inet_init_v6(address: Ipv6Addr) -> Inet
[src]
Constructs an inet v6 object.
Trait Implementations
impl Debug for Inet
[src]
impl Default 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