pub enum AuditAction {
PublishStarted,
PublishEnded,
SubscriberEvicted,
RateLimited,
StreamReaped,
Event(String),
}Expand description
What happened, for the audit log.
Variants§
PublishStarted
A publish session started.
PublishEnded
A publish session ended.
SubscriberEvicted
A subscriber was evicted for chronic lag.
RateLimited
An ingress rate limit was hit.
StreamReaped
A stream was reaped for inactivity.
Event(String)
A lifecycle event with a free-form label.
Implementations§
Trait Implementations§
Source§impl Clone for AuditAction
impl Clone for AuditAction
Source§fn clone(&self) -> AuditAction
fn clone(&self) -> AuditAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuditAction
impl Debug for AuditAction
impl Eq for AuditAction
Source§impl PartialEq for AuditAction
impl PartialEq for AuditAction
Source§fn eq(&self, other: &AuditAction) -> bool
fn eq(&self, other: &AuditAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuditAction
Auto Trait Implementations§
impl Freeze for AuditAction
impl RefUnwindSafe for AuditAction
impl Send for AuditAction
impl Sync for AuditAction
impl Unpin for AuditAction
impl UnsafeUnpin for AuditAction
impl UnwindSafe for AuditAction
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