[−][src]Trait kompact::prelude::Deserialisable
A trait for values that can get deserialised themselves
Can be used for serialisers that reuse already allocated memory as the target, such as protocol buffers.
Required methods
fn ser_id(&self) -> SerId
The serialisation id for which this deserialiser is to be invoked
fn get_deserialised(self) -> Result<T, SerError>
Try to deserialise this data into a T
Returns a SerError if unsuccessful.