pub struct EnforcementOutcome {
pub snapshot: ChannelPressureSnapshot,
pub actions: Vec<PolicyAction>,
pub events: Vec<PolicyEvent>,
}Expand description
Result returned from a monitor update after policy enforcement runs.
Fields§
§snapshot: ChannelPressureSnapshotSnapshot of the pressure state after the monitor update.
actions: Vec<PolicyAction>Triggered policy actions for the caller to apply synchronously.
events: Vec<PolicyEvent>Typed events consumable by routing, dispatch, or observability subsystems.
Trait Implementations§
Source§impl Clone for EnforcementOutcome
impl Clone for EnforcementOutcome
Source§impl Debug for EnforcementOutcome
impl Debug for EnforcementOutcome
Source§impl PartialEq for EnforcementOutcome
impl PartialEq for EnforcementOutcome
impl StructuralPartialEq for EnforcementOutcome
Auto Trait Implementations§
impl Freeze for EnforcementOutcome
impl RefUnwindSafe for EnforcementOutcome
impl Send for EnforcementOutcome
impl Sync for EnforcementOutcome
impl Unpin for EnforcementOutcome
impl UnsafeUnpin for EnforcementOutcome
impl UnwindSafe for EnforcementOutcome
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