Trait ockam_core::Message [−][src]
A user defined message that can be serialised and deserialised
Required methods
fn encode(&self) -> Result<Encoded>
[src]
Encode the type representation into an Encoded
type.
fn decode(e: &Encoded) -> Result<Self>
[src]
Decode an Encoded
type into the Message’s type.
Implementors
impl Message for Any
[src]
impl<T> Message for T where
T: Serialize + DeserializeOwned + Send + 'static,
[src]
T: Serialize + DeserializeOwned + Send + 'static,