Struct cdrs::types::CBytes
[−]
[src]
pub struct CBytes { /* fields omitted */ }
The structure that represents Cassandra byte type
Methods
impl CBytes
[src]
fn new(bytes: Vec<u8>) -> CBytes
fn into_plain(self) -> Vec<u8>
Converts CBytes
into a plain array of bytes
Trait Implementations
impl Debug for CBytes
[src]
impl Clone for CBytes
[src]
fn clone(&self) -> CBytes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl FromCursor for CBytes
[src]
fn from_cursor(cursor: &mut Cursor<Vec<u8>>) -> 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
impl IntoBytes for CBytes
[src]
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.