pub struct KodeletTranscript { /* private fields */ }Implementations§
Source§impl KodeletTranscript
impl KodeletTranscript
pub fn new(path: &Path, retention: SpanRetention) -> Self
Trait Implementations§
Source§impl SessionTracker for KodeletTranscript
impl SessionTracker for KodeletTranscript
Source§fn refresh(&mut self) -> Result<bool>
fn refresh(&mut self) -> Result<bool>
Ingest whatever was appended since the last call. Returns true when
there is still unread data (the byte budget was exhausted).
fn summary(&self) -> &SessionSummary
fn path(&self) -> &Path
Source§fn refresh_all(&mut self) -> Result<()>
fn refresh_all(&mut self) -> Result<()>
Ingest the whole file, however many refreshes that takes. For a
one-shot read such as an export; the live collector spreads a large
transcript over several ticks instead.
Auto Trait Implementations§
impl !Freeze for KodeletTranscript
impl !RefUnwindSafe for KodeletTranscript
impl !Send for KodeletTranscript
impl !Sync for KodeletTranscript
impl !UnwindSafe for KodeletTranscript
impl Unpin for KodeletTranscript
impl UnsafeUnpin for KodeletTranscript
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