Struct rust_abci::types_grpc::ABCIApplicationServer
[−]
[src]
pub struct ABCIApplicationServer { pub grpc_server: Server, }
Fields
grpc_server: Server
Methods
impl ABCIApplicationServer
[src]
fn new<A: ToSocketAddrs, H: ABCIApplication + 'static + Sync + Send + 'static>(
addr: A,
conf: ServerConf,
h: H
) -> Self
addr: A,
conf: ServerConf,
h: H
) -> Self
fn new_pool<A: ToSocketAddrs, H: ABCIApplication + 'static + Sync + Send + 'static>(
addr: A,
conf: ServerConf,
h: H,
cpu_pool: CpuPool
) -> Self
addr: A,
conf: ServerConf,
h: H,
cpu_pool: CpuPool
) -> Self
fn new_service_def<H: ABCIApplication + 'static + Sync + Send + 'static>(
handler: H
) -> ServerServiceDefinition
handler: H
) -> ServerServiceDefinition
Methods from Deref<Target = Server>
fn local_addr(&self) -> &SocketAddr
fn is_alive(&self) -> bool
Trait Implementations
impl Deref for ABCIApplicationServer
[src]
type Target = Server
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value