pub struct SagaCtx {
pub saga_id: u64,
}Expand description
Read-only context passed to saga callbacks. Currently carries
only the saga_id; kept as a struct (rather than a bare u64) so
future fields can be added without touching every Saga impl.
F.7 cleanup audit: saga_id is unread by the shipped sagas
(F.5/F.6 don’t need it — coordinator already routes events
per-registry). Reserved for the per-event saga_id correlation
follow-up; allow stays.
Fields§
§saga_id: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for SagaCtx
impl RefUnwindSafe for SagaCtx
impl Send for SagaCtx
impl Sync for SagaCtx
impl Unpin for SagaCtx
impl UnwindSafe for SagaCtx
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