pub struct KernelLayerCapture {
pub run_id: String,
pub kernel_layer_ndjson: Vec<u8>,
pub capability_surface: CapabilitySurface,
pub event_count: u64,
pub ringbuf_drops: u64,
/* private fields */
}Fields§
§run_id: String§kernel_layer_ndjson: Vec<u8>§capability_surface: CapabilitySurface§event_count: u64§ringbuf_drops: u64Implementations§
Source§impl KernelLayerCapture
impl KernelLayerCapture
Sourcepub fn apply_to_archive(
self,
archive: &mut RunnerSpikeArchive,
cgroup_correlation: CgroupCorrelationStatus,
) -> Result<(), KernelLayerError>
pub fn apply_to_archive( self, archive: &mut RunnerSpikeArchive, cgroup_correlation: CgroupCorrelationStatus, ) -> Result<(), KernelLayerError>
Apply this capture to the archive.
Replaces any previously-applied kernel layer NDJSON, merges the capability surface, and updates observation health. The caller supplies cgroup attribution health; non-clean cgroup correlation downgrades the kernel layer to absent because scoped kernel attribution is not complete.
Trait Implementations§
Source§impl Clone for KernelLayerCapture
impl Clone for KernelLayerCapture
Source§fn clone(&self) -> KernelLayerCapture
fn clone(&self) -> KernelLayerCapture
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 KernelLayerCapture
impl Debug for KernelLayerCapture
Source§impl PartialEq for KernelLayerCapture
impl PartialEq for KernelLayerCapture
Source§fn eq(&self, other: &KernelLayerCapture) -> bool
fn eq(&self, other: &KernelLayerCapture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KernelLayerCapture
impl StructuralPartialEq for KernelLayerCapture
Auto Trait Implementations§
impl Freeze for KernelLayerCapture
impl RefUnwindSafe for KernelLayerCapture
impl Send for KernelLayerCapture
impl Sync for KernelLayerCapture
impl Unpin for KernelLayerCapture
impl UnsafeUnpin for KernelLayerCapture
impl UnwindSafe for KernelLayerCapture
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.