pub enum SpecialError {
Domain(String),
Convergence {
function: &'static str,
iterations: usize,
},
}Expand description
Errors from special function evaluation.
Variants§
Domain(String)
Argument is outside the domain of the function.
Convergence
Series did not converge within the allowed iterations.
Trait Implementations§
Source§impl Clone for SpecialError
impl Clone for SpecialError
Source§fn clone(&self) -> SpecialError
fn clone(&self) -> SpecialError
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 SpecialError
impl Debug for SpecialError
Source§impl Display for SpecialError
impl Display for SpecialError
Source§impl From<SpecialError> for NumraError
impl From<SpecialError> for NumraError
Source§fn from(e: SpecialError) -> Self
fn from(e: SpecialError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SpecialError
impl PartialEq for SpecialError
Source§fn eq(&self, other: &SpecialError) -> bool
fn eq(&self, other: &SpecialError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpecialError
Auto Trait Implementations§
impl Freeze for SpecialError
impl RefUnwindSafe for SpecialError
impl Send for SpecialError
impl Sync for SpecialError
impl Unpin for SpecialError
impl UnsafeUnpin for SpecialError
impl UnwindSafe for SpecialError
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