pub struct RunSource { /* private fields */ }Implementations§
Source§impl RunSource
impl RunSource
pub fn new(database_path: &Path) -> Self
pub fn single(database_path: &Path, run_id: &str) -> Result<Self>
pub fn database_path(&self) -> &Path
pub fn get(&self, run_id: &str) -> Option<&RunEntry>
pub fn ordered_run_ids(&self) -> Vec<String>
pub fn summaries(&self) -> Vec<Value>
pub fn scan(&mut self) -> bool
pub fn refresh_all(&mut self) -> RefreshOutcome
Auto Trait Implementations§
impl Freeze for RunSource
impl RefUnwindSafe for RunSource
impl Send for RunSource
impl Sync for RunSource
impl Unpin for RunSource
impl UnsafeUnpin for RunSource
impl UnwindSafe for RunSource
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> 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