Skip to main content

RietveldProjectError

Enum RietveldProjectError 

Source
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.

Fields

§histogram_id: RecordId

Duplicated histogram identity.

§

UnknownHistogram

Analysis references a missing histogram.

Fields

§histogram_id: RecordId

Missing histogram identity.

§

HistogramStateMismatch

Pattern or experiment state differs from the project histogram.

Fields

§histogram_id: RecordId

Inconsistent histogram identity.

§

PhaseOrderMismatch

Active phase order differs from the histogram references.

Fields

§histogram_id: RecordId

Inconsistent histogram identity.

§

ExternalProviderRequired

Native analysis cannot execute a project phase requiring an extension.

Fields

§phase_id: RecordId

Phase requiring the extension.

§

OpaqueStaticContributions

Phase carries opaque static contribution arrays with no native model.

Fields

§phase_id: RecordId

Phase with non-reconstructible contributions.

§

PhaseStateMismatch

Analysis phase label or structural definition differs from the project.

Fields

§phase_id: RecordId

Inconsistent phase identity.

Trait Implementations§

Source§

impl Debug for RietveldProjectError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for RietveldProjectError

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for RietveldProjectError

Source§

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

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<ConstraintError> for RietveldProjectError

Source§

fn from(error: ConstraintError) -> Self

Converts to this type from the input type.
Source§

impl From<DomainError> for RietveldProjectError

Source§

fn from(error: DomainError) -> Self

Converts to this type from the input type.
Source§

impl From<RietveldError> for RietveldProjectError

Source§

fn from(error: RietveldError) -> Self

Converts to this type from the input type.
Source§

impl From<RietveldGeneralParameterError> for RietveldProjectError

Source§

fn from(error: RietveldGeneralParameterError) -> Self

Converts to this type from the input type.
Source§

impl From<RietveldGeneralRefinementError> for RietveldProjectError

Source§

fn from(error: RietveldGeneralRefinementError) -> Self

Converts to this type from the input type.
Source§

impl From<RietveldRefinementError> for RietveldProjectError

Source§

fn from(error: RietveldRefinementError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.