pub struct InMemoryRawAuditEventSink { /* private fields */ }Implementations§
Source§impl InMemoryRawAuditEventSink
impl InMemoryRawAuditEventSink
pub fn new() -> Self
pub fn register(&mut self, sink: impl RawAuditEventSink + 'static)
pub fn with_sink(self, sink: impl RawAuditEventSink + 'static) -> Self
Trait Implementations§
Source§impl Clone for InMemoryRawAuditEventSink
impl Clone for InMemoryRawAuditEventSink
Source§fn clone(&self) -> InMemoryRawAuditEventSink
fn clone(&self) -> InMemoryRawAuditEventSink
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 Default for InMemoryRawAuditEventSink
impl Default for InMemoryRawAuditEventSink
Source§fn default() -> InMemoryRawAuditEventSink
fn default() -> InMemoryRawAuditEventSink
Returns the “default value” for a type. Read more
Source§impl RawAuditEventSink for InMemoryRawAuditEventSink
impl RawAuditEventSink for InMemoryRawAuditEventSink
fn on_event( &self, ctx: &UserContext, event: &RawAuditEvent, ) -> Result<(), RuntimeError>
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryRawAuditEventSink
impl !UnwindSafe for InMemoryRawAuditEventSink
impl Freeze for InMemoryRawAuditEventSink
impl Send for InMemoryRawAuditEventSink
impl Sync for InMemoryRawAuditEventSink
impl Unpin for InMemoryRawAuditEventSink
impl UnsafeUnpin for InMemoryRawAuditEventSink
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