pub enum StochasticError {
InvalidConfig(String),
MatrixError(String),
NumericalFailure(String),
}Expand description
Errors produced by stochastic estimation routines.
Variants§
InvalidConfig(String)
Invalid configuration parameter.
MatrixError(String)
Problem with the input matrix.
NumericalFailure(String)
Numerical failure during computation.
Trait Implementations§
Source§impl Clone for StochasticError
impl Clone for StochasticError
Source§fn clone(&self) -> StochasticError
fn clone(&self) -> StochasticError
Returns a duplicate of the value. Read more
1.0.0 · 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 StochasticError
impl Debug for StochasticError
Source§impl Display for StochasticError
impl Display for StochasticError
Source§impl Error for StochasticError
impl Error for StochasticError
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()
Auto Trait Implementations§
impl Freeze for StochasticError
impl RefUnwindSafe for StochasticError
impl Send for StochasticError
impl Sync for StochasticError
impl Unpin for StochasticError
impl UnsafeUnpin for StochasticError
impl UnwindSafe for StochasticError
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