pub enum IntervalSetError {
LimitExceeded,
InvalidInterval,
}
Variants§
Trait Implementations§
source§impl Clone for IntervalSetError
impl Clone for IntervalSetError
source§fn clone(&self) -> IntervalSetError
fn clone(&self) -> IntervalSetError
Returns a copy 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 IntervalSetError
impl Debug for IntervalSetError
source§impl Hash for IntervalSetError
impl Hash for IntervalSetError
source§impl Ord for IntervalSetError
impl Ord for IntervalSetError
source§fn cmp(&self, other: &IntervalSetError) -> Ordering
fn cmp(&self, other: &IntervalSetError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for IntervalSetError
impl PartialEq for IntervalSetError
source§fn eq(&self, other: &IntervalSetError) -> bool
fn eq(&self, other: &IntervalSetError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IntervalSetError
impl PartialOrd for IntervalSetError
source§fn partial_cmp(&self, other: &IntervalSetError) -> Option<Ordering>
fn partial_cmp(&self, other: &IntervalSetError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IntervalSetError
impl Eq for IntervalSetError
impl StructuralPartialEq for IntervalSetError
Auto Trait Implementations§
impl Freeze for IntervalSetError
impl RefUnwindSafe for IntervalSetError
impl Send for IntervalSetError
impl Sync for IntervalSetError
impl Unpin for IntervalSetError
impl UnwindSafe for IntervalSetError
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