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

pub enum Simple {
    Unassigned(u8),
    Reserved(u8),
}

Most simple types (e.g. bool are covered elsewhere) but this value captures those value ranges of CBOR type Simple (major 7) which are either not assigned or reserved.

Variants

Unassigned
Reserved

Trait Implementations

Derived Implementations

impl Hash for Simple

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

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

impl Debug for Simple

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

impl Ord for Simple

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

impl Eq for Simple

impl PartialOrd for Simple

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

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

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

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

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

impl PartialEq for Simple

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

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

impl Copy for Simple

impl Clone for Simple

fn clone(&self) -> Simple

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