[][src]Struct cassandra_cpp::Inet

#[repr(C)]pub struct Inet(_);

Cassandra's version of an IP address

Implementations

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 AsRustType<Inet> for Row[src]

impl BindRustType<Inet> for Statement[src]

impl Clone for Inet[src]

impl Copy for Inet[src]

impl Debug for Inet[src]

impl Default for Inet[src]

impl<'a> From<&'a Inet> for IpAddr[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.

impl PartialEq<Inet> for Inet[src]

impl ToString for Inet[src]

Auto Trait Implementations

impl RefUnwindSafe for Inet

impl Send for Inet

impl Sync for Inet

impl Unpin for Inet

impl UnwindSafe for Inet

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.