Type Alias zebrad::components::mempool::Outbound

source ·
type Outbound = Buffer<BoxService<Request, Response, BoxError>, Request>;

Aliased Type§

struct Outbound {
    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