pub struct ApplierCtx<'a> {
pub cfg: &'a AgentConfig,
pub clock: &'a ClockHandle,
pub input_tx: &'a Sender<ReducerInput>,
pub activation_tx: &'a ActivationIntentTx,
pub probe_reset_tx: &'a ProbeResetTx,
pub outbound_queue: &'a Arc<OutboundQueue>,
pub outbound_kick: &'a OutboundKickTx,
}Expand description
Context handed to applier::apply_effect. Bundles the channels +
reducer input sender the applier needs to dispatch a Local* effect
without inlining platform-specific code or HTTP. Mirrors the CP-side
ApplierCtx.
Fields§
§cfg: &'a AgentConfig§clock: &'a ClockHandle§input_tx: &'a Sender<ReducerInput>§activation_tx: &'a ActivationIntentTx§probe_reset_tx: &'a ProbeResetTx§outbound_queue: &'a Arc<OutboundQueue>§outbound_kick: &'a OutboundKickTxAuto 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