[][src]Struct rmp::decode::ExtMeta

pub struct ExtMeta {
    pub typeid: i8,
    pub size: u32,
}

Extension type meta information.

Extension represents a tuple of type information and a byte array where type information is an integer whose meaning is defined by applications.

Applications can assign 0 to 127 to store application-specific type information.

Note

MessagePack reserves -1 to -128 for future extension to add predefined types which will be described in separated documents.

Fields

typeid: i8

Type information.

size: u32

Byte array size.

Trait Implementations

impl PartialEq<ExtMeta> for ExtMeta[src]

impl Debug for ExtMeta[src]

Auto Trait Implementations

impl Send for ExtMeta

impl Unpin for ExtMeta

impl Sync for ExtMeta

impl UnwindSafe for ExtMeta

impl RefUnwindSafe for ExtMeta

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]