Struct cassandra_cpp_sys::CassInet_[][src]

#[repr(C)]
pub struct CassInet_ { pub address: [cass_uint8_t; 16], pub address_length: cass_uint8_t, }

IP address for either IPv4 or IPv6.

@struct CassInet

Fields

address: [cass_uint8_t; 16]

Big-endian, binary representation of a IPv4 or IPv6 address

address_length: cass_uint8_t

Number of address bytes. 4 bytes for IPv4 and 16 bytes for IPv6.

Trait Implementations

impl Clone for CassInet_[src]

impl Copy for CassInet_[src]

impl Debug for CassInet_[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.