pub struct InboundCtx {
pub src_peer: Option<PeerId>,
pub wire_req_id: Option<u64>,
pub arrival_ns: Option<u64>,
pub remaining_deadline_ns: Option<u64>,
}Expand description
Inbound-envelope context captured at delivery time and threaded into every op dispatched as part of the cascade.
Fields§
§src_peer: Option<PeerId>The PeerId of the inbound envelope’s transport-reported
source. None outside the inbound delivery path.
wire_req_id: Option<u64>The inbound envelope’s wire_req_id correlation token.
arrival_ns: Option<u64>Engine-clock timestamp the envelope arrived at.
remaining_deadline_ns: Option<u64>Remaining deadline budget propagated by the sender.
Trait Implementations§
Source§impl Clone for InboundCtx
impl Clone for InboundCtx
Source§fn clone(&self) -> InboundCtx
fn clone(&self) -> InboundCtx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InboundCtx
Source§impl Debug for InboundCtx
impl Debug for InboundCtx
Source§impl Default for InboundCtx
impl Default for InboundCtx
Source§fn default() -> InboundCtx
fn default() -> InboundCtx
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InboundCtx
impl RefUnwindSafe for InboundCtx
impl Send for InboundCtx
impl Sync for InboundCtx
impl Unpin for InboundCtx
impl UnsafeUnpin for InboundCtx
impl UnwindSafe for InboundCtx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more