Struct kitsune_p2p_types::tx2::MsgId [−][src]
pub struct MsgId(_);
Expand description
64 bit MsgId - the top bit identifies if Request or Response.
Implementations
Create a new notify-type MsgId.
Get this Id as a response-type MsgId.
(will panic if as_id() == 0
).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MsgId
impl UnwindSafe for MsgId
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
type Output = T
type Output = T
Should always be Self
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