pub struct CInet {
pub addr: SocketAddr,
}Expand description
The structure wich represets Cassandra [inet] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L222).
Fields§
§addr: SocketAddrTrait Implementations§
Source§impl FromCursor for CInet
impl FromCursor for CInet
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CInet>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CInet>
It should return an implementor from an
io::Cursor over an array of bytes.Auto Trait Implementations§
impl Freeze for CInet
impl RefUnwindSafe for CInet
impl Send for CInet
impl Sync for CInet
impl Unpin for CInet
impl UnwindSafe for CInet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more