#[non_exhaustive]pub enum FindingLocation {
Command,
Summary,
Body,
Blob {
hash: String,
path: Option<String>,
},
}Expand description
Where a scan finding was located within a session
(docs/redaction-design.md, hh scan).
#[non_exhaustive]: new location kinds are plausible as scan coverage
grows; variant construction from other crates is unaffected, only
exhaustive match needs a wildcard, which nothing outside this crate
currently does.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Command
The session’s recorded command line (sessions.command).
Summary
An event’s one-line summary.
Body
An event’s inline body_json payload.
Blob
A blob referenced by an event (an overflowed payload, a file snapshot, or a non-UTF-8 terminal chunk).
Trait Implementations§
Source§impl Clone for FindingLocation
impl Clone for FindingLocation
Source§fn clone(&self) -> FindingLocation
fn clone(&self) -> FindingLocation
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 Debug for FindingLocation
impl Debug for FindingLocation
Source§impl Display for FindingLocation
impl Display for FindingLocation
impl Eq for FindingLocation
Source§impl PartialEq for FindingLocation
impl PartialEq for FindingLocation
impl StructuralPartialEq for FindingLocation
Auto Trait Implementations§
impl Freeze for FindingLocation
impl RefUnwindSafe for FindingLocation
impl Send for FindingLocation
impl Sync for FindingLocation
impl Unpin for FindingLocation
impl UnsafeUnpin for FindingLocation
impl UnwindSafe for FindingLocation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.