Enum msgpacker::prelude::Message [−][src]
pub enum Message {
Integer(Integer),
Nil,
Boolean(bool),
Float(Float),
String(String),
Bin(Vec<u8>),
Array(Vec<Self>),
Map(Vec<MapEntry>),
Extension(Extension),
}Expand description
MessagePack protocol type
Variants
Integer(Integer)Integer 64-bit representation
Tuple Fields of Integer
0: IntegerNull value
Boolean(bool)Boolean value
Tuple Fields of Boolean
0: boolFloat(Float)Float representation
Tuple Fields of Float
0: FloatString(String)String value
Tuple Fields of String
0: StringBinary value
Array(Vec<Self>)Set of messages
Tuple Fields of Array
0: Vec<Self>Map message -> message
Extension(Extension)Custom extension
Tuple Fields of Extension
0: ExtensionImplementations
Cast this message to a reference variant bound to the same lifetime.
The values cheaper than a pointer will be copied.
Return the attribute, if matched
Return the attribute, if matched
Return the attribute, if matched
Consume the bytes required to read a new message.
Need to take R as reference until recursion resolution bug is solved:
39959
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more