pub struct ControlDecisions(/* private fields */);Expand description
Atomic per-class totals shared via ControlGate.
Implementations§
Source§impl ControlDecisions
impl ControlDecisions
Sourcepub fn snapshot(&self) -> ControlDecisionCounters
pub fn snapshot(&self) -> ControlDecisionCounters
Copy the current totals; each counter is read independently, so the set is not atomic.
Trait Implementations§
Source§impl Debug for ControlDecisions
impl Debug for ControlDecisions
Auto Trait Implementations§
impl !Freeze for ControlDecisions
impl RefUnwindSafe for ControlDecisions
impl Send for ControlDecisions
impl Sync for ControlDecisions
impl Unpin for ControlDecisions
impl UnsafeUnpin for ControlDecisions
impl UnwindSafe for ControlDecisions
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