pub struct ChannelAuditLogger { /* private fields */ }Expand description
Channel-based audit logger for async event streaming
Implementations§
Source§impl ChannelAuditLogger
impl ChannelAuditLogger
Sourcepub fn new() -> (ChannelAuditLogger, UnboundedReceiver<SecurityAuditEvent>)
pub fn new() -> (ChannelAuditLogger, UnboundedReceiver<SecurityAuditEvent>)
Create a new channel audit logger
Trait Implementations§
Source§impl SecurityAuditLogger for ChannelAuditLogger
impl SecurityAuditLogger for ChannelAuditLogger
Source§fn log<'life0, 'async_trait>(
&'life0 self,
event: SecurityAuditEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
ChannelAuditLogger: 'async_trait,
fn log<'life0, 'async_trait>(
&'life0 self,
event: SecurityAuditEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
ChannelAuditLogger: 'async_trait,
Log a security audit event
Auto Trait Implementations§
impl Freeze for ChannelAuditLogger
impl RefUnwindSafe for ChannelAuditLogger
impl Send for ChannelAuditLogger
impl Sync for ChannelAuditLogger
impl Unpin for ChannelAuditLogger
impl UnsafeUnpin for ChannelAuditLogger
impl UnwindSafe for ChannelAuditLogger
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