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