Struct tendermint_abci::Server
source · pub struct Server<App> { /* private fields */ }
Expand description
A TCP-based server for serving a specific ABCI application.
Each incoming connection is handled in a separate thread. The ABCI application is cloned for access in each thread. It is up to the application developer to manage shared state across these different threads.
Implementations§
Auto Trait Implementations§
impl<App> Freeze for Server<App>where
App: Freeze,
impl<App> RefUnwindSafe for Server<App>where
App: RefUnwindSafe,
impl<App> Send for Server<App>where
App: Send,
impl<App> Sync for Server<App>where
App: Sync,
impl<App> Unpin for Server<App>where
App: Unpin,
impl<App> UnwindSafe for Server<App>where
App: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more