Struct tarpc::ServeHandle
[−]
[src]
pub struct ServeHandle { // some fields omitted }
Provides methods for blocking until the server completes,
Methods
impl ServeHandle
[src]
fn wait(self)
Block until the server completes
fn local_addr(&self) -> &SocketAddr
Returns the address the server is bound to
fn shutdown(self)
Shutdown the server. Gracefully shuts down the serve thread but currently does not gracefully close open connections.