struct PendingFrame {
frame: HostFrame,
saga_id: Option<u64>,
}Expand description
One frame waiting to be written to the host. Tracks the saga_id
when known so we can emit a meaningful SagaFailed if the frame
is dropped on overflow / timeout.
Fields§
§frame: HostFrame§saga_id: Option<u64>Some(id) for Command frames whose Command variant carries
a saga_id. None for Event frames (the host is not the only
subscriber for events — they also flow to the renderer / Tool
clients via the broadcast bus, so a missed event-frame is not
a saga-level failure) and for Command frames whose variant
has no saga_id field yet (the schema additions land in CPD-1).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingFrame
impl RefUnwindSafe for PendingFrame
impl Send for PendingFrame
impl Sync for PendingFrame
impl Unpin for PendingFrame
impl UnwindSafe for PendingFrame
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