pub struct Trials<'a> { /* private fields */ }Expand description
The trials of one investigation, kept in a store.
Implementations§
Source§impl<'a> Trials<'a>
impl<'a> Trials<'a>
pub fn of(tree: impl Into<String>, kept: &'a dyn Store) -> Self
Sourcepub fn study(&self, commit: &str) -> String
pub fn study(&self, commit: &str) -> String
The name of a commit’s study, which is the whole of the link.
Sourcepub fn of_commit(&self, commit: &str) -> Result<Vec<Trial>, Trouble>
pub fn of_commit(&self, commit: &str) -> Result<Vec<Trial>, Trouble>
A commit’s trials, the highest attempt of each, in order.
One scan and no fetches.
Auto Trait Implementations§
impl<'a> Freeze for Trials<'a>
impl<'a> !RefUnwindSafe for Trials<'a>
impl<'a> Send for Trials<'a>
impl<'a> Sync for Trials<'a>
impl<'a> Unpin for Trials<'a>
impl<'a> UnsafeUnpin for Trials<'a>
impl<'a> !UnwindSafe for Trials<'a>
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