pub enum SweepStartError {
ModelMismatch {
spec_model: String,
entry_model: String,
},
Plan(PlanError),
Search(SearchPlanError),
GpuNeedsNative,
Output(OutputError),
Manifest(ManifestError),
Spec(SpecFileError),
Shard,
Spawn(Error),
}Expand description
A sweep that cannot start.
Variants§
ModelMismatch
A spec written for the model spec_model, given the entry for entry_model.
Fields
Plan(PlanError)
A spec that the model rejects.
Search(SearchPlanError)
A search spec that the model rejects.
GpuNeedsNative
A GPU model on a target that cannot step a GPU model in a sweep.
Output(OutputError)
An output directory that holds the results of a sweep, or that another sweep, search or merge is writing to.
Manifest(ManifestError)
A manifest that cannot be read.
Spec(SpecFileError)
A manifest whose spec cannot be read back.
Shard
A directory whose manifest specifies a shard outside its plan.
Spawn(Error)
Starting the sweep’s thread failed.
Trait Implementations§
Source§impl Debug for SweepStartError
impl Debug for SweepStartError
Source§impl Display for SweepStartError
impl Display for SweepStartError
Source§impl Error for SweepStartError
impl Error for SweepStartError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for SweepStartError
impl !UnwindSafe for SweepStartError
impl Freeze for SweepStartError
impl Send for SweepStartError
impl Sync for SweepStartError
impl Unpin for SweepStartError
impl UnsafeUnpin for SweepStartError
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