Trait moose::networking::SyncNetworking
source · [−]pub trait SyncNetworking {
fn send(
&self,
value: &Value,
receiver: &Identity,
rendezvous_key: &RendezvousKey,
session_id: &SessionId
) -> Result<()>;
fn receive(
&self,
sender: &Identity,
rendezvous_key: &RendezvousKey,
session_id: &SessionId
) -> Result<Value>;
}
Expand description
Requirements for synchronous networking.
An implementation of this trait must be provided when using Moose for synchronous (blocking) execution.