Enum thrust::dispatcher::Role [] [src]

pub enum Role {
    Server(SocketAddr),
    Client(SocketAddr),
}

Variants

Server

A server will be tasked with actually calling a user defined RPC method and dispatching the response back to the event loop.

Client

A client is tasked with sending an initial RPC and dispatching a response.

Trait Implementations

Derived Implementations

impl Debug for Role

fn fmt(&self, __arg_0: &mut Formatter) -> Result