struct LiteSessionFile {
mtime: u64,
size: u64,
head: String,
tail: String,
tag: Option<String>,
}Expand description
Head / tail snapshot of a session file - enough to recover all
SDKSessionInfo fields without a full scan. The tag field is
populated by a separate streaming line-scan because tag rows can
appear anywhere in the file (start-of-file at spawn, mid-file via
/new re-tag) and the head + tail windows miss both cases on
large transcripts.
Fields§
§mtime: u64§size: u64§head: String§tail: String§tag: Option<String>Auto Trait Implementations§
impl Freeze for LiteSessionFile
impl RefUnwindSafe for LiteSessionFile
impl Send for LiteSessionFile
impl Sync for LiteSessionFile
impl Unpin for LiteSessionFile
impl UnsafeUnpin for LiteSessionFile
impl UnwindSafe for LiteSessionFile
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