pub struct GuardRecord {
pub guard: String,
pub phase: &'static str,
pub outcome: &'static str,
pub ms: u64,
pub paths: Vec<String>,
pub lane: String,
pub detail: Option<String>,
}Expand description
Every guard outcome, for logs (GuardRecord, ULTRON_LOKI_LOG).
Fields§
§guard: String§phase: &'static strbefore_write, before_shell or after_cell.
outcome: &'static strallowed, blocked, unchecked, clean, advisory or findings.
ms: u64§paths: Vec<String>§lane: String§detail: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for GuardRecord
impl Clone for GuardRecord
Source§impl Debug for GuardRecord
impl Debug for GuardRecord
impl Eq for GuardRecord
Source§impl PartialEq for GuardRecord
impl PartialEq for GuardRecord
impl StructuralPartialEq for GuardRecord
Auto Trait Implementations§
impl Forget for GuardRecord
impl Freeze for GuardRecord
impl Move for GuardRecord
impl RefUnwindSafe for GuardRecord
impl Send for GuardRecord
impl Sync for GuardRecord
impl Unpin for GuardRecord
impl UnsafeUnpin for GuardRecord
impl UnwindSafe for GuardRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.