pub struct ServerBuilder<C, M, I, S> { /* private fields */ }
Implementations§
Source§impl<C, M, I, S> ServerBuilder<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> ServerBuilder<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,
Trait Implementations§
Auto Trait Implementations§
impl<C, M, I, S> Freeze for ServerBuilder<C, M, I, S>
impl<C, M, I, S> RefUnwindSafe for ServerBuilder<C, M, I, S>
impl<C, M, I, S> Send for ServerBuilder<C, M, I, S>
impl<C, M, I, S> Sync for ServerBuilder<C, M, I, S>
impl<C, M, I, S> Unpin for ServerBuilder<C, M, I, S>
impl<C, M, I, S> UnwindSafe for ServerBuilder<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