Struct sirpent::actors::Handshake
[−]
[src]
pub struct Handshake { /* fields omitted */ }
Methods
impl Handshake
[src]
fn new<G>(grid: G,
timeout: Milliseconds,
timer: Timer,
nameserver: ActorRef<String, String, ()>)
-> Handshake where G: Into<GridEnum>
timeout: Milliseconds,
timer: Timer,
nameserver: ActorRef<String, String, ()>)
-> Handshake where G: Into<GridEnum>
Trait Implementations
impl Clone for Handshake
[src]
fn clone(&self) -> Handshake
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Actor for Handshake
[src]
type Request = MsgClient<SocketAddr>
The message sent to the actor
type Response = (MsgClient<String>, ClientKind)
The response sent back from the actor
type Error = ()
The response error
type Future = Box<Future<Item=Self::Response, Error=Self::Error>>
The internal response future. This will remain on the actor's task and will be polled to completion before being sent back to the caller. Read more
fn call(&mut self, unnamed_client: Self::Request) -> Self::Future
Process an inbound message and return a response. Read more
fn poll(&mut self, state: ActorState) -> Async<()>
Poll the Actor
to see if it has completed processing. Read more
fn poll_ready(&mut self) -> Async<()>
Indicates that the actor is ready to process the next inbox message Read more