pub struct Deferred { /* private fields */ }Expand description
Implementations§
Source§impl Deferred
impl Deferred
Sourcepub fn track(&self, name: &str) -> Recorder
pub fn track(&self, name: &str) -> Recorder
Enroll name without letting it influence segmentation.
Sourcepub fn pacing_track(&self, name: &str) -> Recorder
pub fn pacing_track(&self, name: &str) -> Recorder
Enroll name as a pacing track.
Sourcepub fn cut(&self, pts: Timestamp) -> Result<()>
pub fn cut(&self, pts: Timestamp) -> Result<()>
Declare a segment boundary at pts, overriding automatic minimum-duration pacing.
Sourcepub fn section(&self) -> Archive
pub fn section(&self) -> Archive
The catalog’s root archive entry describing records built by this segmenter.
Sourcepub fn finish(self) -> DeferredDrain
pub fn finish(self) -> DeferredDrain
Flush the final open segment and return a handle that can only drain pending records.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Deferred
impl RefUnwindSafe for Deferred
impl Send for Deferred
impl Sync for Deferred
impl Unpin for Deferred
impl UnsafeUnpin for Deferred
impl UnwindSafe for Deferred
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