pub enum BesselError {
InvalidInput,
Overflow,
PrecisionLoss,
TotalPrecisionLoss,
ConvergenceFailure,
}Expand description
Error type for Bessel function computation.
Variants§
InvalidInput
Invalid input (e.g., z=0 for Hankel, negative order).
Overflow
Overflow: |z| or ν too large, or |z| too small.
PrecisionLoss
Argument reduction caused loss of more than half of significant digits.
TotalPrecisionLoss
Argument reduction caused loss of all significant digits.
ConvergenceFailure
Algorithm did not meet termination criteria.
Trait Implementations§
Source§impl Clone for BesselError
impl Clone for BesselError
Source§fn clone(&self) -> BesselError
fn clone(&self) -> BesselError
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 BesselError
impl Debug for BesselError
Source§impl Display for BesselError
impl Display for BesselError
Source§impl Error for BesselError
Available on crate feature std only.
impl Error for BesselError
Available on crate feature
std only.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 PartialEq for BesselError
impl PartialEq for BesselError
impl Copy for BesselError
impl Eq for BesselError
impl StructuralPartialEq for BesselError
Auto Trait Implementations§
impl Freeze for BesselError
impl RefUnwindSafe for BesselError
impl Send for BesselError
impl Sync for BesselError
impl Unpin for BesselError
impl UnwindSafe for BesselError
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