pub struct SdkLayerCapture {
pub run_id: String,
pub sdk_layer_ndjson: Vec<u8>,
pub events: Vec<SdkLayerEvent>,
}Fields§
§run_id: String§sdk_layer_ndjson: Vec<u8>§events: Vec<SdkLayerEvent>Implementations§
Source§impl SdkLayerCapture
impl SdkLayerCapture
pub fn from_sdk_ndjson( run_id: impl Into<String>, ndjson: &[u8], ) -> Result<SdkLayerCapture, SdkLayerError>
Sourcepub fn apply_to_archive(
self,
archive: &mut RunnerSpikeArchive,
) -> Result<(), SdkLayerError>
pub fn apply_to_archive( self, archive: &mut RunnerSpikeArchive, ) -> Result<(), SdkLayerError>
Apply this SDK capture to the archive.
SDK-layer events are self-reported runtime observations. Applying them
may set sdk_layer=self_reported, but it must not promote kernel or
policy claims: side-effect evidence remains owned by those layers.
Trait Implementations§
Source§impl Clone for SdkLayerCapture
impl Clone for SdkLayerCapture
Source§fn clone(&self) -> SdkLayerCapture
fn clone(&self) -> SdkLayerCapture
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 SdkLayerCapture
impl Debug for SdkLayerCapture
Source§impl PartialEq for SdkLayerCapture
impl PartialEq for SdkLayerCapture
Source§fn eq(&self, other: &SdkLayerCapture) -> bool
fn eq(&self, other: &SdkLayerCapture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SdkLayerCapture
impl StructuralPartialEq for SdkLayerCapture
Auto Trait Implementations§
impl Freeze for SdkLayerCapture
impl RefUnwindSafe for SdkLayerCapture
impl Send for SdkLayerCapture
impl Sync for SdkLayerCapture
impl Unpin for SdkLayerCapture
impl UnsafeUnpin for SdkLayerCapture
impl UnwindSafe for SdkLayerCapture
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.