Trait comm::node::Serialize
[−]
[src]
pub trait Serialize {
fn serialize(&self) -> Node;
}Anything that needs to be serialized for transfer or storage.
TODO: this and deserialize should probably both be a part of a Serializable trait so that
other types can impl it instead of the incoming and outgoing functions in messages.
Required Methods
Implementors
impl Serialize for Node