pub struct FrameInfo {
pub session: SessionId,
pub worker: String,
pub seq: u64,
pub epoch: Option<u64>,
}Expand description
In-process dispatch identity (§1 “Dispatch”, §7.3). On the wire these
are frame keys, not payload keys, which is why the view field is
#[serde(skip)].
Fields§
§session: SessionIdThe target session of this dispatch (§7.2): the one drain’s
session for a drain-phase hook, the one target session for an
admit/pre frame.
worker: StringThat target’s durable exec_worker id; the empty string when the
session has no binding (§7.3).
seq: u64That target’s last observed seq at consultation; 0 when the
session has no event yet (§7.3).
epoch: Option<u64>The fencing epoch of the drain that consulted — present for
drain-phase hooks only (§7.2); None for admit/*.
Implementations§
Trait Implementations§
impl Eq for FrameInfo
impl StructuralPartialEq for FrameInfo
Auto Trait Implementations§
impl Forget for FrameInfo
impl Freeze for FrameInfo
impl Move for FrameInfo
impl RefUnwindSafe for FrameInfo
impl Send for FrameInfowhere
RawVecInner: Send,
impl Sync for FrameInfowhere
RawVecInner: Sync,
impl Unpin for FrameInfo
impl UnsafeUnpin for FrameInfo
impl UnwindSafe for FrameInfowhere
RawVecInner: UnwindSafe,
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