Struct organelle::RemoteEffector
[−]
[src]
pub struct RemoteEffector<S: Signal + Send> { /* fields omitted */ }
the remote effector is an effector meant to be used between threads
Methods
impl<S: Signal + Send> RemoteEffector<S>
[src]
fn this_soma(&self) -> Handle
[src]
get the Handle associated with the soma that owns this effector
fn send(&self, dest: Handle, msg: S)
[src]
send a message to dest soma
fn send_in_order(&self, dest: Handle, msgs: Vec<S>)
[src]
send a batch of messages in order to dest soma
fn stop(&self)
[src]
stop the organelle
fn error(&self, e: Error)
[src]
stop the organelle because of an error
fn spawn<F>(&self, future: F) where
F: Future<Item = (), Error = ()> + Send + 'static,
[src]
F: Future<Item = (), Error = ()> + Send + 'static,
spawn a future on the reactor
fn reactor(&self) -> Remote
[src]
get a reactor handle