Struct cdrs::types::CInet [−][src]
pub struct CInet { pub addr: SocketAddr, }
The structure wich represets Cassandra [inet] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L222).
Fields
addr: SocketAddr
Trait Implementations
impl Debug for CInet
[src]
impl Debug for CInet
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 FromCursor for CInet
[src]
impl FromCursor for CInet
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CInet>
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CInet>
It should return an implementor from an io::Cursor
over an array of bytes.