[][src]Struct cdrs::types::CBytesShort

pub struct CBytesShort { /* fields omitted */ }

Cassandra short bytes

Methods

impl CBytesShort[src]

pub fn new(bytes: Vec<u8>) -> CBytesShort[src]

pub fn into_plain(self) -> Option<Vec<u8>>[src]

Converts CBytesShort into plain vector of bytes;

Trait Implementations

impl Clone for CBytesShort[src]

impl Debug for CBytesShort[src]

impl FromCursor for CBytesShort[src]

fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CBytesShort>[src]

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]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.