Struct sk_cbor::values::Constants[][src]

pub struct Constants {}
Expand description

Constant values required for CBOR encoding.

Implementations

Number of bits used to shift left the major type of a CBOR type byte.

Mask to retrieve the additional information held in a CBOR type bytes, ignoring the major type.

Additional information value that indicates the largest inline value.

Additional information value indicating that a 1-byte length follows.

Additional information value indicating that a 2-byte length follows.

Additional information value indicating that a 4-byte length follows.

Additional information value indicating that an 8-byte length follows.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.