Enum kitsune_p2p_types::transport::TransportEvent [−][src]
pub enum TransportEvent {
IncomingChannel(Url2, TransportChannelWrite, TransportChannelRead),
}
Expand description
Enum type for events bubbled out of a Transport instance.
Variants
IncomingChannel(Url2, TransportChannelWrite, TransportChannelRead)
A remote is establishing an incoming channel.
Tuple Fields of IncomingChannel
Auto Trait Implementations
impl !RefUnwindSafe for TransportEvent
impl Send for TransportEvent
impl !Sync for TransportEvent
impl Unpin for TransportEvent
impl !UnwindSafe for TransportEvent
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
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