Enum kitsune_p2p_types::transport_pool::TransportPool [−][src]
pub enum TransportPool {
PushSubTransport {
span_context: Context,
respond: GhostRespond<TransportPoolHandlerResult<()>>,
sub_listener: GhostSender<TransportListener>,
sub_event: TransportEventReceiver,
},
}
Expand description
Additional control functions for a transport pool
Variants
Push a new sub-transport listener into the pool
Fields of PushSubTransport
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<TransportPoolHandlerResult<()>>
Response callback - respond to the request.
sub_listener: GhostSender<TransportListener>
Input parameter.
sub_event: TransportEventReceiver
Input parameter.
Trait Implementations
Process a dispatch event with a given GhostHandler.
Auto Trait Implementations
impl !RefUnwindSafe for TransportPool
impl Send for TransportPool
impl Sync for TransportPool
impl Unpin for TransportPool
impl !UnwindSafe for TransportPool
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more