#[non_exhaustive]pub enum BitSetError {
BiggerThanCapacity,
}
Expand description
Possible errors on the BitSet
operations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BiggerThanCapacity
Happens when trying to insert or remove a value bigger than the capacity of the bitset.
Trait Implementations§
Source§impl Clone for BitSetError
impl Clone for BitSetError
Source§fn clone(&self) -> BitSetError
fn clone(&self) -> BitSetError
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 BitSetError
impl Debug for BitSetError
Source§impl Display for BitSetError
impl Display for BitSetError
Source§impl Hash for BitSetError
impl Hash for BitSetError
Source§impl Ord for BitSetError
impl Ord for BitSetError
Source§fn cmp(&self, other: &BitSetError) -> Ordering
fn cmp(&self, other: &BitSetError) -> 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 BitSetError
impl PartialEq for BitSetError
Source§impl PartialOrd for BitSetError
impl PartialOrd for BitSetError
impl Copy for BitSetError
impl Eq for BitSetError
impl StructuralPartialEq for BitSetError
Auto Trait Implementations§
impl Freeze for BitSetError
impl RefUnwindSafe for BitSetError
impl Send for BitSetError
impl Sync for BitSetError
impl Unpin for BitSetError
impl UnwindSafe for BitSetError
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