pub enum TofMultiBankProjectError {
Domain(DomainError),
Workflow(TofMultiBankGeometryError),
DuplicateAnalysis {
analysis_id: RecordId,
},
DuplicateHistogramOwnership {
histogram_id: RecordId,
},
UnknownHistogram {
histogram_id: RecordId,
},
HistogramStateMismatch {
histogram_id: RecordId,
},
PhaseOrderMismatch {
histogram_id: RecordId,
},
PhaseStateMismatch {
phase_id: RecordId,
},
LatticeStateMismatch {
phase_id: RecordId,
},
}Expand description
Invalid project-level joint multi-bank TOF state.
Variants§
Domain(DomainError)
Application-neutral project validation failed.
Workflow(TofMultiBankGeometryError)
Joint geometry input, options, or checkpoint validation failed.
DuplicateAnalysis
More than one analysis has the same stable identity.
DuplicateHistogramOwnership
A TOF histogram is assigned to multiple joint analyses.
UnknownHistogram
Analysis references a missing TOF histogram.
HistogramStateMismatch
Bank pattern or initial instrument differs from its histogram record.
PhaseOrderMismatch
Active phase order differs from the histogram references.
PhaseStateMismatch
Analysis phase label or identity differs from project state.
LatticeStateMismatch
Shared initial cell or exact symmetry setting differs from project state.
Trait Implementations§
Source§impl Debug for TofMultiBankProjectError
impl Debug for TofMultiBankProjectError
Source§impl Display for TofMultiBankProjectError
impl Display for TofMultiBankProjectError
Source§impl Error for TofMultiBankProjectError
impl Error for TofMultiBankProjectError
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()
Source§impl From<DomainError> for TofMultiBankProjectError
impl From<DomainError> for TofMultiBankProjectError
Source§fn from(value: DomainError) -> Self
fn from(value: DomainError) -> Self
Converts to this type from the input type.
Source§impl From<LatticeError> for TofMultiBankProjectError
impl From<LatticeError> for TofMultiBankProjectError
Source§fn from(value: LatticeError) -> Self
fn from(value: LatticeError) -> Self
Converts to this type from the input type.
Source§impl From<TofMultiBankGeometryError> for TofMultiBankProjectError
impl From<TofMultiBankGeometryError> for TofMultiBankProjectError
Source§fn from(value: TofMultiBankGeometryError) -> Self
fn from(value: TofMultiBankGeometryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TofMultiBankProjectError
impl !UnwindSafe for TofMultiBankProjectError
impl Freeze for TofMultiBankProjectError
impl Send for TofMultiBankProjectError
impl Sync for TofMultiBankProjectError
impl Unpin for TofMultiBankProjectError
impl UnsafeUnpin for TofMultiBankProjectError
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 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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
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
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
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.