pub enum AnalysisComputeError {
NoSnapshots,
Session(SessionError),
OutRead(String),
InvalidInput(String),
}Expand description
Errors returned by analysis computation functions.
Variants§
NoSnapshots
The simulation (or .out file) contains no reporting periods.
Session(SessionError)
Reading results from an in-memory crate::simulation::Simulation failed.
OutRead(String)
Reading or parsing the .out binary file failed.
InvalidInput(String)
The supplied input parameters are inconsistent or out of range.
Trait Implementations§
Source§impl Debug for AnalysisComputeError
impl Debug for AnalysisComputeError
Source§impl Display for AnalysisComputeError
impl Display for AnalysisComputeError
Source§impl Error for AnalysisComputeError
impl Error for AnalysisComputeError
1.30.0 · 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<SessionError> for AnalysisComputeError
impl From<SessionError> for AnalysisComputeError
Source§fn from(value: SessionError) -> Self
fn from(value: SessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnalysisComputeError
impl RefUnwindSafe for AnalysisComputeError
impl Send for AnalysisComputeError
impl Sync for AnalysisComputeError
impl Unpin for AnalysisComputeError
impl UnsafeUnpin for AnalysisComputeError
impl UnwindSafe for AnalysisComputeError
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