pub struct SafetyAuditLogger { /* private fields */ }Expand description
Audit logger for command safety decisions
Implementations§
Source§impl SafetyAuditLogger
impl SafetyAuditLogger
Sourcepub async fn entries_for_command(&self, cmd: &str) -> Vec<AuditEntry>
pub async fn entries_for_command(&self, cmd: &str) -> Vec<AuditEntry>
Returns entries for a specific command
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SafetyAuditLogger
impl !UnwindSafe for SafetyAuditLogger
impl Freeze for SafetyAuditLogger
impl Send for SafetyAuditLogger
impl Sync for SafetyAuditLogger
impl Unpin for SafetyAuditLogger
impl UnsafeUnpin for SafetyAuditLogger
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