Struct inari::IntervalError
source Β· [−]pub struct IntervalError { /* private fields */ }
Implementations
sourceimpl IntervalError
impl IntervalError
sourcepub fn kind(&self) -> IntervalErrorKind
pub fn kind(&self) -> IntervalErrorKind
Returns the type of the error.
Trait Implementations
sourceimpl Clone for IntervalError
impl Clone for IntervalError
sourcefn clone(&self) -> IntervalError
fn clone(&self) -> IntervalError
Returns a copy of the value. Read more
1.0.0 Β· sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IntervalError
impl Debug for IntervalError
sourceimpl Display for IntervalError
impl Display for IntervalError
sourceimpl Error for IntervalError
impl Error for IntervalError
1.30.0 Β· sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
π¬ This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 Β· sourcefn description(&self) -> &str
fn description(&self) -> &str
π Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<IntervalError> for IntervalError
impl PartialEq<IntervalError> for IntervalError
sourcefn eq(&self, other: &IntervalError) -> bool
fn eq(&self, other: &IntervalError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IntervalError) -> bool
fn ne(&self, other: &IntervalError) -> bool
This method tests for !=
.
impl Eq for IntervalError
impl StructuralEq for IntervalError
impl StructuralPartialEq for IntervalError
Auto Trait Implementations
impl RefUnwindSafe for IntervalError
impl Send for IntervalError
impl Sync for IntervalError
impl Unpin for IntervalError
impl UnwindSafe for IntervalError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable Β· sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedAs for T
impl<T> CheckedAs for T
sourcefn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
Casts the value.
sourceimpl<T> OverflowingAs for T
impl<T> OverflowingAs for T
sourcefn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
Casts the value.
sourceimpl<T> SaturatingAs for T
impl<T> SaturatingAs for T
sourcefn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
Casts the value.
sourceimpl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
sourcefn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
Casts the value.
sourceimpl<T> WrappingAs for T
impl<T> WrappingAs for T
sourcefn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
Casts the value.