pub enum ReferenceSolveError {
Request {
cause: Box<InterferenceError>,
},
CellGeometry {
row: usize,
column: usize,
cause: Box<InterferenceError>,
},
SourceAtCell {
source_id: String,
row: usize,
column: usize,
cause: Box<InterferenceError>,
},
NonFiniteAccumulation {
source_id: String,
row: usize,
column: usize,
component: &'static str,
value: f64,
},
AllocationFailed {
component: &'static str,
cells: usize,
},
}Expand description
A reference solve failed without returning a partial field.
Variants§
Request
Sampling, work, or another request-wide preflight check failed.
Fields
§
cause: Box<InterferenceError>Exact core diagnostic that refused the request.
CellGeometry
A sampling cell could not be represented by the checked plane.
Fields
§
cause: Box<InterferenceError>Exact geometry diagnostic.
SourceAtCell
One canonical source could not be evaluated at one sampling cell.
Fields
§
cause: Box<InterferenceError>Exact propagation diagnostic.
NonFiniteAccumulation
Compensated component accumulation became non-finite.
Fields
AllocationFailed
Host storage could not be reserved for a complete component plane.
Trait Implementations§
Source§impl Clone for ReferenceSolveError
impl Clone for ReferenceSolveError
Source§fn clone(&self) -> ReferenceSolveError
fn clone(&self) -> ReferenceSolveError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReferenceSolveError
impl Debug for ReferenceSolveError
Source§impl Display for ReferenceSolveError
impl Display for ReferenceSolveError
Source§impl Error for ReferenceSolveError
impl Error for ReferenceSolveError
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<InterferenceError> for ReferenceSolveError
impl From<InterferenceError> for ReferenceSolveError
Source§fn from(cause: InterferenceError) -> Self
fn from(cause: InterferenceError) -> Self
Converts to this type from the input type.
Source§impl From<ReferenceSolveError> for VerificationError
impl From<ReferenceSolveError> for VerificationError
Source§fn from(cause: ReferenceSolveError) -> Self
fn from(cause: ReferenceSolveError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReferenceSolveError
impl PartialEq for ReferenceSolveError
impl StructuralPartialEq for ReferenceSolveError
Auto Trait Implementations§
impl Freeze for ReferenceSolveError
impl RefUnwindSafe for ReferenceSolveError
impl Send for ReferenceSolveError
impl Sync for ReferenceSolveError
impl Unpin for ReferenceSolveError
impl UnsafeUnpin for ReferenceSolveError
impl UnwindSafe for ReferenceSolveError
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