Type Alias zebrad::components::inbound::Mempool
source · type Mempool = Buffer<BoxService<Request, Response, BoxError>, Request>;
Aliased Type§
struct Mempool {
tx: UnboundedSender<Message<Request, Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error + Send + Sync>>> + Send>>>>,
semaphore: PollSemaphore,
permit: Option<OwnedSemaphorePermit>,
handle: Handle,
}
Fields§
§tx: UnboundedSender<Message<Request, Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error + Send + Sync>>> + Send>>>>
§semaphore: PollSemaphore
§permit: Option<OwnedSemaphorePermit>
§handle: Handle