Trait apalis::MessageEncodable [−][src]
Expand description
Message objects that can be encoded to a string to be stored in Storage.
Implemented for all Serialize
objects by default by encoding with Msgpack.
Required methods
fn encode_message(&self) -> Result<Vec<u8, Global>, &'static str>
[src]
Expand description
Encode the value into a bytes array to be inserted into Storage.
In the default implementation, the object is encoded with Msgpack.
Implementors
impl<T> MessageEncodable for T where
T: Serialize,
[src]
impl<T> MessageEncodable for T where
T: Serialize,
[src]