pub struct LogEntry {
pub timestamp: Instant,
pub permission: &'static str,
pub granted: bool,
}Expand description
A record of a single capability exercise attempt.
Created automatically by LoggedCap::try_cap and stored in the
shared audit log.
Fields§
§timestamp: InstantMonotonic timestamp of the exercise attempt.
permission: &'static strThe permission type name (via std::any::type_name).
granted: boolWhether the capability was granted (true) or denied (false).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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