Struct tendermint_abci::ServerBuilder [−][src]
pub struct ServerBuilder { /* fields omitted */ }
Expand description
Allows us to configure and construct an ABCI server.
Implementations
Builder constructor.
Allows you to specify the read buffer size used when reading chunks of incoming data from the client. This needs to be tuned for your application.
pub fn bind<Addr, App>(self, addr: Addr, app: App) -> Result<Server<App>, Error> where
Addr: ToSocketAddrs,
App: Application,
pub fn bind<Addr, App>(self, addr: Addr, app: App) -> Result<Server<App>, Error> where
Addr: ToSocketAddrs,
App: Application,
Constructor for an ABCI server.
Binds the server to the given address. You must subsequently call the
Server::listen
method in order for incoming connections’ requests
to be routed to the specified ABCI application.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ServerBuilder
impl Send for ServerBuilder
impl Sync for ServerBuilder
impl Unpin for ServerBuilder
impl UnwindSafe for ServerBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more