pub(crate) enum SpecialBoundsError {
UnixNanoseconds,
SignedDurationFloatOutOfRangeF32,
SignedDurationFloatOutOfRangeF64,
SignedToUnsignedDuration,
}Expand description
Like BoundsError, but maintained manually.
This is useful for range errors outside of the framework above.
Variants§
UnixNanoseconds
SignedDurationFloatOutOfRangeF32
SignedDurationFloatOutOfRangeF64
SignedToUnsignedDuration
Trait Implementations§
Source§impl Clone for SpecialBoundsError
impl Clone for SpecialBoundsError
Source§fn clone(&self) -> SpecialBoundsError
fn clone(&self) -> SpecialBoundsError
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 SpecialBoundsError
impl Debug for SpecialBoundsError
Source§impl Display for SpecialBoundsError
impl Display for SpecialBoundsError
Source§impl From<SpecialBoundsError> for Error
impl From<SpecialBoundsError> for Error
Source§fn from(err: SpecialBoundsError) -> Error
fn from(err: SpecialBoundsError) -> Error
Converts to this type from the input type.
Source§impl IntoError for SpecialBoundsError
impl IntoError for SpecialBoundsError
fn into_error(self) -> Error
Auto Trait Implementations§
impl Freeze for SpecialBoundsError
impl RefUnwindSafe for SpecialBoundsError
impl Send for SpecialBoundsError
impl Sync for SpecialBoundsError
impl Unpin for SpecialBoundsError
impl UnwindSafe for SpecialBoundsError
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