pub struct CaptureArchive<P: CaptureDataSet>(/* private fields */);Expand description
Capture-aware native archive. Synthesized payloads never enter this writer. Native CopperList metadata retains both original and captured presence planes; StreamContinuity retains the reconstruction contract and source gaps.
Implementations§
Source§impl<P: CaptureDataSet> CaptureArchive<P>
impl<P: CaptureDataSet> CaptureArchive<P>
pub fn new( path: &Path, received: &ReceivedManifest, slab_bytes: usize, section_bytes: usize, ) -> Result<Self>
pub fn accept( &mut self, event: &SessionEventRef<'_>, ) -> Result<Option<CapturedList<P>>>
Sourcepub fn take_structured_log(&mut self) -> Option<CuLogEntry>
pub fn take_structured_log(&mut self) -> Option<CuLogEntry>
Move the structured entry from the most recent successful accept.
pub fn finish(self) -> Result<()>
Auto Trait Implementations§
impl<P> !RefUnwindSafe for CaptureArchive<P>
impl<P> !UnwindSafe for CaptureArchive<P>
impl<P> Freeze for CaptureArchive<P>where
NativeArchive<P>: Freeze,
impl<P> Send for CaptureArchive<P>where
NativeArchive<P>: Send,
impl<P> Sync for CaptureArchive<P>where
NativeArchive<P>: Sync,
impl<P> Unpin for CaptureArchive<P>where
NativeArchive<P>: Unpin,
impl<P> UnsafeUnpin for CaptureArchive<P>where
NativeArchive<P>: UnsafeUnpin,
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<T> GetTypeRegistration for T
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