[−][src]Trait kompact::Serialisable
Required methods
fn serid(&self) -> u64
fn size_hint(&self) -> Option<usize>
Provides a suggested serialized size in bytes if possible, returning None otherwise.
fn serialise(&self, buf: &mut dyn BufMut) -> Result<(), SerError>
Serialises this object into buf
, returning a SerError
if unsuccessful.
fn local(self: Box<Self>) -> Result<Box<dyn Any + Send>, Box<dyn Serialisable>>
Implementations on Foreign Types
impl Serialisable for &'static str
[src]
fn serid(&self) -> u64
[src]
fn size_hint(&self) -> Option<usize>
[src]
fn serialise(&self, buf: &mut dyn BufMut) -> Result<(), SerError>
[src]
fn local(self: Box<Self>) -> Result<Box<dyn Any + Send>, Box<dyn Serialisable>>
[src]
impl Serialisable for u64
[src]
fn serid(&self) -> u64
[src]
fn size_hint(&self) -> Option<usize>
[src]
fn serialise(&self, buf: &mut dyn BufMut) -> Result<(), SerError>
[src]
fn local(self: Box<Self>) -> Result<Box<dyn Any + Send>, Box<dyn Serialisable>>
[src]
Implementors
impl Serialisable for ActorPath
[src]
fn serid(&self) -> u64
[src]
fn size_hint(&self) -> Option<usize>
[src]
fn serialise(&self, buf: &mut dyn BufMut) -> Result<(), SerError>
[src]
Serializes a Unique or Named actor path.
See deserialise_msg
in kompact::serialisation for matching deserialisation.