pub enum RietveldProjectError {
Show 16 variants
Domain(DomainError),
Rietveld(RietveldError),
Parameter(RietveldGeneralParameterError),
Constraint(ConstraintError),
Options(RietveldRefinementError),
General(RietveldGeneralRefinementError),
LatticeBoundCountMismatch,
UnsatisfiedConstraint,
CheckpointExceedsIterationLimit,
DuplicateAnalysis {
histogram_id: RecordId,
},
UnknownHistogram {
histogram_id: RecordId,
},
HistogramStateMismatch {
histogram_id: RecordId,
},
PhaseOrderMismatch {
histogram_id: RecordId,
},
ExternalProviderRequired {
phase_id: RecordId,
},
OpaqueStaticContributions {
phase_id: RecordId,
},
PhaseStateMismatch {
phase_id: RecordId,
},
}Expand description
Invalid project-level native Rietveld state.
Variants§
Domain(DomainError)
Application-neutral project validation failed.
Rietveld(RietveldError)
Rietveld input validation failed.
Parameter(RietveldGeneralParameterError)
Selection or parameter-layout validation failed.
Constraint(ConstraintError)
Constraint graph validation failed.
Options(RietveldRefinementError)
Solver-control validation failed.
General(RietveldGeneralRefinementError)
Checkpoint or covariance validation failed.
LatticeBoundCountMismatch
Lattice bounds do not align with phase order.
UnsatisfiedConstraint
Initial physical values do not satisfy the constraint graph.
CheckpointExceedsIterationLimit
Saved iteration limits cannot resume the accepted checkpoint.
DuplicateAnalysis
More than one analysis owns one histogram.
UnknownHistogram
Analysis references a missing histogram.
HistogramStateMismatch
Pattern or experiment state differs from the project histogram.
PhaseOrderMismatch
Active phase order differs from the histogram references.
ExternalProviderRequired
Native analysis cannot execute a project phase requiring an extension.
OpaqueStaticContributions
Phase carries opaque static contribution arrays with no native model.
PhaseStateMismatch
Analysis phase label or structural definition differs from the project.
Trait Implementations§
Source§impl Debug for RietveldProjectError
impl Debug for RietveldProjectError
Source§impl Display for RietveldProjectError
impl Display for RietveldProjectError
Source§impl Error for RietveldProjectError
impl Error for RietveldProjectError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ConstraintError> for RietveldProjectError
impl From<ConstraintError> for RietveldProjectError
Source§fn from(error: ConstraintError) -> Self
fn from(error: ConstraintError) -> Self
Source§impl From<DomainError> for RietveldProjectError
impl From<DomainError> for RietveldProjectError
Source§fn from(error: DomainError) -> Self
fn from(error: DomainError) -> Self
Source§impl From<RietveldError> for RietveldProjectError
impl From<RietveldError> for RietveldProjectError
Source§fn from(error: RietveldError) -> Self
fn from(error: RietveldError) -> Self
Source§impl From<RietveldGeneralParameterError> for RietveldProjectError
impl From<RietveldGeneralParameterError> for RietveldProjectError
Source§fn from(error: RietveldGeneralParameterError) -> Self
fn from(error: RietveldGeneralParameterError) -> Self
Source§impl From<RietveldGeneralRefinementError> for RietveldProjectError
impl From<RietveldGeneralRefinementError> for RietveldProjectError
Source§fn from(error: RietveldGeneralRefinementError) -> Self
fn from(error: RietveldGeneralRefinementError) -> Self
Source§impl From<RietveldRefinementError> for RietveldProjectError
impl From<RietveldRefinementError> for RietveldProjectError
Source§fn from(error: RietveldRefinementError) -> Self
fn from(error: RietveldRefinementError) -> Self
Auto Trait Implementations§
impl Freeze for RietveldProjectError
impl RefUnwindSafe for RietveldProjectError
impl Send for RietveldProjectError
impl Sync for RietveldProjectError
impl Unpin for RietveldProjectError
impl UnsafeUnpin for RietveldProjectError
impl UnwindSafe for RietveldProjectError
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
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> ⓘ
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> ⓘ
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> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.