Struct cdrs::types::CBytesShort
[−]
[src]
pub struct CBytesShort { /* fields omitted */ }
Cassandra short bytes
Methods
impl CBytesShort
[src]
fn new(bytes: Vec<u8>) -> CBytesShort
fn into_plain(self) -> Vec<u8>
Converts CBytesShort
into plain vector of bytes;
Trait Implementations
impl Debug for CBytesShort
[src]
impl Clone for CBytesShort
[src]
fn clone(&self) -> CBytesShort
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 CBytesShort
[src]
fn from_cursor(cursor: &mut Cursor<Vec<u8>>) -> CBytesShort
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 CBytesShort
[src]
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.