[][src]Trait cassandra_proto::frame::traits::FromBytes

pub trait FromBytes {
    fn from_bytes(bytes: &[u8]) -> Result<Self>
    where
        Self: Sized
; }

FromBytes should be used to parse an array of bytes into a structure.

Required methods

fn from_bytes(bytes: &[u8]) -> Result<Self> where
    Self: Sized

It gets and array of bytes and should return an implementor struct.

Loading content...

Implementations on Foreign Types

impl FromBytes for Vec<u8>[src]

Loading content...

Implementors

impl FromBytes for Consistency[src]

impl FromBytes for ColType[src]

impl FromBytes for ResultKind[src]

impl FromBytes for RowsMetadataFlag[src]

impl FromBytes for BodyResResultVoid[src]

Loading content...