pub struct CBytes { /* private fields */ }
Expand description
The structure that represents Cassandra byte type.
Implementations§
Trait Implementations§
source§impl FromCursor for CBytes
impl FromCursor for CBytes
source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CBytes>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CBytes>
from_cursor gets Cursor who’s position is set such that it should be a start of a [bytes]. It reads required number of bytes and returns a CBytes
source§impl IntoBytes for CBytes
impl IntoBytes for CBytes
source§fn into_cbytes(&self) -> Vec<u8>
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.