pub enum CompiledArtifactClass {
GpuLiteralSet,
Phase2GpuDfaCatalog,
HyperscanDatabase,
DetectorPlan,
ExecutionPack,
MatcherArtifact,
}Expand description
The complete enumeration of compiled artifact classes used by KeyHog.
Variants§
GpuLiteralSet
GPU literal match tables and kernel parameters.
Phase2GpuDfaCatalog
GPU Phase-2 deterministic finite automaton state transition graph.
HyperscanDatabase
Hyperscan / Vectorscan compiled regex database shards.
DetectorPlan
Precompiled detector plan containing regexes and literal indices.
ExecutionPack
Authenticated self-contained execution pack.
MatcherArtifact
Persistent matcher artifact graph (.khm).
Implementations§
Source§impl CompiledArtifactClass
impl CompiledArtifactClass
Sourcepub const ALL: &'static [CompiledArtifactClass]
pub const ALL: &'static [CompiledArtifactClass]
List all registered compiled artifact classes.
Sourcepub const fn label(self) -> &'static str
pub const fn label(self) -> &'static str
Operator-facing label for the compiled artifact class.
Sourcepub const fn compile_owner(self) -> &'static str
pub const fn compile_owner(self) -> &'static str
Compile owner / subsystem responsible for producing this artifact.
Trait Implementations§
Source§impl Clone for CompiledArtifactClass
impl Clone for CompiledArtifactClass
Source§fn clone(&self) -> CompiledArtifactClass
fn clone(&self) -> CompiledArtifactClass
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 moreimpl Copy for CompiledArtifactClass
Source§impl Debug for CompiledArtifactClass
impl Debug for CompiledArtifactClass
Source§impl<'de> Deserialize<'de> for CompiledArtifactClass
impl<'de> Deserialize<'de> for CompiledArtifactClass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CompiledArtifactClass
impl Display for CompiledArtifactClass
impl Eq for CompiledArtifactClass
Source§impl Hash for CompiledArtifactClass
impl Hash for CompiledArtifactClass
Source§impl Ord for CompiledArtifactClass
impl Ord for CompiledArtifactClass
Source§fn cmp(&self, other: &CompiledArtifactClass) -> Ordering
fn cmp(&self, other: &CompiledArtifactClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompiledArtifactClass
impl PartialEq for CompiledArtifactClass
Source§impl PartialOrd for CompiledArtifactClass
impl PartialOrd for CompiledArtifactClass
Source§impl Serialize for CompiledArtifactClass
impl Serialize for CompiledArtifactClass
impl StructuralPartialEq for CompiledArtifactClass
Auto Trait Implementations§
impl Freeze for CompiledArtifactClass
impl RefUnwindSafe for CompiledArtifactClass
impl Send for CompiledArtifactClass
impl Sync for CompiledArtifactClass
impl Unpin for CompiledArtifactClass
impl UnsafeUnpin for CompiledArtifactClass
impl UnwindSafe for CompiledArtifactClass
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more