Enum cbor4ii::core::dec::Reference[][src]

pub enum Reference<'de, 'short> {
    Long(&'de [u8]),
    Short(&'short [u8]),
}
Expand description

Bytes reference

Variants

Long(&'de [u8])

Tuple Fields

If the reader can return bytes as long as its lifetime, then zero-copy decoding will be allowed.

Short(&'short [u8])

Tuple Fields

Bytes returned normally

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.