Trait actix_telepathy::RemoteMessage[][src]

pub trait RemoteMessage where
    Self: Message + Send + Serialize
{ type Serializer: CustomSerialization; const IDENTIFIER: &'static str; fn get_serializer(&self) -> Box<Self::Serializer>;
fn generate_serializer() -> Box<Self::Serializer>;
fn set_source(&mut self, source: Addr<NetworkInterface>); fn get_identifier(&self) -> &str { ... } }

Helper Trait to prepare messages to be sent over the network

Associated Types

Loading content...

Associated Constants

const IDENTIFIER: &'static str[src]

Loading content...

Required methods

Loading content...

Provided methods

fn get_identifier(&self) -> &str[src]

Loading content...

Implementors

Loading content...