pub struct ApplierCtx<'a> {
pub state: &'a Arc<AppState>,
pub manifests: &'a SignedManifestSet,
pub clock: &'a ClockHandle,
pub event_log_tx: &'a EventLogTx,
}Expand description
Per-call context. Bundles the four borrows every applier path needs so individual handlers stay readable without the parameter-pyramid.
Fields§
§state: &'a Arc<AppState>§manifests: &'a SignedManifestSet§clock: &'a ClockHandle§event_log_tx: &'a EventLogTxAuto Trait Implementations§
impl<'a> Freeze for ApplierCtx<'a>
impl<'a> !RefUnwindSafe for ApplierCtx<'a>
impl<'a> Send for ApplierCtx<'a>
impl<'a> Sync for ApplierCtx<'a>
impl<'a> Unpin for ApplierCtx<'a>
impl<'a> !UnwindSafe for ApplierCtx<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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