Enum kitsune_p2p_types::tx2::tx2_adapter::Tx2ConDir [−][src]
pub enum Tx2ConDir {
Incoming,
Outgoing,
}
Expand description
The directionality of this connection. Did we establish it? Was it an incoming connection?
Variants
This connection was initiated by a remote peer.
A local endpoint established this outgoing connection.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tx2ConDir
impl UnwindSafe for Tx2ConDir
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