pub struct Server<C, M, I, S> { /* private fields */ }Expand description
An ABCI server which listens for connections and forwards requests to four
component ABCI [Service]s.
Implementations§
Source§impl<C, M, I, S> Server<C, M, I, S>where
    C: Service<ConsensusRequest, Response = ConsensusResponse, Error = BoxError> + Send + Clone + 'static,
    C::Future: Send + 'static,
    M: Service<MempoolRequest, Response = MempoolResponse, Error = BoxError> + Send + Clone + 'static,
    M::Future: Send + 'static,
    I: Service<InfoRequest, Response = InfoResponse, Error = BoxError> + Send + Clone + 'static,
    I::Future: Send + 'static,
    S: Service<SnapshotRequest, Response = SnapshotResponse, Error = BoxError> + Send + Clone + 'static,
    S::Future: Send + 'static,
 
impl<C, M, I, S> Server<C, M, I, S>where
    C: Service<ConsensusRequest, Response = ConsensusResponse, Error = BoxError> + Send + Clone + 'static,
    C::Future: Send + 'static,
    M: Service<MempoolRequest, Response = MempoolResponse, Error = BoxError> + Send + Clone + 'static,
    M::Future: Send + 'static,
    I: Service<InfoRequest, Response = InfoResponse, Error = BoxError> + Send + Clone + 'static,
    I::Future: Send + 'static,
    S: Service<SnapshotRequest, Response = SnapshotResponse, Error = BoxError> + Send + Clone + 'static,
    S::Future: Send + 'static,
Auto Trait Implementations§
impl<C, M, I, S> Freeze for Server<C, M, I, S>
impl<C, M, I, S> RefUnwindSafe for Server<C, M, I, S>
impl<C, M, I, S> Send for Server<C, M, I, S>
impl<C, M, I, S> Sync for Server<C, M, I, S>
impl<C, M, I, S> Unpin for Server<C, M, I, S>
impl<C, M, I, S> UnwindSafe for Server<C, M, I, S>
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