pub struct Trial {
pub trial: u32,
pub attempt: u32,
pub state: Option<String>,
pub point: Option<String>,
pub score: Option<f64>,
pub who: Option<String>,
pub when: u64,
pub kept: Digest,
}Expand description
A trial, as it comes back from a scan.
The states are soma’s and not this side’s — running, done, pruned,
failed — and travel as text, so a growing vocabulary is not two places to
migrate.
Fields§
§trial: u32§attempt: u32Which attempt. The highest wins: claiming is a link, so a trial whose machine died is rescued by claiming the next one.
state: Option<String>§point: Option<String>The configuration that ran, as str(point) wrote it.
score: Option<f64>Absent while running. Present on a pruned, and not comparable
with a done’s: it was measured after fewer epochs.
who: Option<String>§when: u64§kept: DigestWhere the curve is. Not the curve: that is a fetch and this is not.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trial
impl RefUnwindSafe for Trial
impl Send for Trial
impl Sync for Trial
impl Unpin for Trial
impl UnsafeUnpin for Trial
impl UnwindSafe for Trial
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