Struct grpcio::Server
[−]
[src]
pub struct Server { /* fields omitted */ }
Methods
impl Server
[src]
pub fn shutdown(&mut self) -> ShutdownFuture
[src]
Shutdown the server asynchronously.
pub fn cancel_all_calls(&mut self)
[src]
Cancel all in-progress calls.
Only usable after shutdown.
pub fn start(&mut self)
[src]
Start a server.
Tells all listeners to start listening.
pub fn bind_addrs(&self) -> &[(String, u16)]
[src]
Get the binded addresses.