pub struct EventState {
pub policy: Policy,
pub counter: SuppressionCounter,
}Expand description
State tracked for each event signature.
Fields§
§policy: PolicyRate limiting policy for this event
counter: SuppressionCounterCounter tracking suppressions
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EventState
impl RefUnwindSafe for EventState
impl Send for EventState
impl Sync for EventState
impl Unpin for EventState
impl UnwindSafe for EventState
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