pub struct RecordScan {
pub records: Vec<RunningRecord>,
pub older_mur: Vec<PathBuf>,
pub unreadable: Vec<PathBuf>,
}Expand description
What one pass over a running directory found.
Fields§
§records: Vec<RunningRecord>Every record that parses, most recent session first.
older_mur: Vec<PathBuf>Every .json file an older mur wrote — a JSON object with a string session_id and no
records_dir key — most recent session first. Its capsule may still be running, so no
reader removes it, and none reads it past those two keys.
unreadable: Vec<PathBuf>Every other .json file that could not be read or did not parse, left where it is.
Trait Implementations§
Source§impl Debug for RecordScan
impl Debug for RecordScan
Auto Trait Implementations§
impl Freeze for RecordScan
impl RefUnwindSafe for RecordScan
impl Send for RecordScan
impl Sync for RecordScan
impl Unpin for RecordScan
impl UnsafeUnpin for RecordScan
impl UnwindSafe for RecordScan
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
The type of the none-equivalent value that
NoneValue::null_value produces.Source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.