[][src]Struct cbor_tools::format::AdnInfo

pub struct AdnInfo(_);

The "additional information" field

This is a 5-bit field used to communicate some more detail about the value; it's commonly used to communicate simple values (True, False, Null) or specify how many bytes are to follow.

Implementations

impl AdnInfo[src]

pub const MORE1: AdnInfo[src]

1 byte to follow.

pub const MORE2: AdnInfo[src]

2 bytes to follow.

pub const MORE4: AdnInfo[src]

4 bytes to follow.

pub const MORE8: AdnInfo[src]

8 bytes to follow.

pub const INDEFINITE: AdnInfo[src]

Indefinite-length encoding is used.

pub const FALSE: AdnInfo[src]

pub const TRUE: AdnInfo[src]

pub const NULL: AdnInfo[src]

pub const UNDEFINED: AdnInfo[src]

pub const FLOAT16: AdnInfo[src]

pub const FLOAT32: AdnInfo[src]

pub const FLOAT64: AdnInfo[src]

pub const BREAK: AdnInfo[src]

Terminate an indefinite-length encoding.

Trait Implementations

impl Clone for AdnInfo[src]

impl Copy for AdnInfo[src]

impl Debug for AdnInfo[src]

impl PartialEq<AdnInfo> for AdnInfo[src]

impl StructuralPartialEq for AdnInfo[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.