Enum cbor::value::Bytes [−] [src]

pub enum Bytes {
    Bytes(Vec<u8>),
    Chunks(LinkedList<Vec<u8>>),
}

A unification of plain an indefinitly sized byte strings.

Variants

Bytes
Chunks

Trait Implementations

Derived Implementations

impl Hash for Bytes

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for Bytes

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Ord for Bytes

fn cmp(&self, __arg_0: &Bytes) -> Ordering

impl Eq for Bytes

impl PartialOrd for Bytes

fn partial_cmp(&self, __arg_0: &Bytes) -> Option<Ordering>

fn lt(&self, __arg_0: &Bytes) -> bool

fn le(&self, __arg_0: &Bytes) -> bool

fn gt(&self, __arg_0: &Bytes) -> bool

fn ge(&self, __arg_0: &Bytes) -> bool

impl PartialEq for Bytes

fn eq(&self, __arg_0: &Bytes) -> bool

fn ne(&self, __arg_0: &Bytes) -> bool

impl Clone for Bytes

fn clone(&self) -> Bytes

fn clone_from(&mut self, source: &Self)