pub struct JsonlAuditSink { /* private fields */ }Implementations§
Source§impl JsonlAuditSink
impl JsonlAuditSink
pub fn new(path: PathBuf) -> Result<Self, AuditError>
Trait Implementations§
Source§impl AuditSink for JsonlAuditSink
impl AuditSink for JsonlAuditSink
fn record(&self, event: AuditEvent) -> Result<(), AuditError>
Auto Trait Implementations§
impl !Freeze for JsonlAuditSink
impl RefUnwindSafe for JsonlAuditSink
impl Send for JsonlAuditSink
impl Sync for JsonlAuditSink
impl Unpin for JsonlAuditSink
impl UnsafeUnpin for JsonlAuditSink
impl UnwindSafe for JsonlAuditSink
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