Enum GetDisjointMutError
pub enum GetDisjointMutError
The error type returned by [get_disjoint_indices_mut]IndexMap::get_disjoint_indices_mut.
It indicates one of two possible errors:
- An index is out-of-bounds.
- The same index appeared multiple times in the array.
Variants
-
IndexOutOfBounds An index provided was out-of-bounds for the slice.
-
OverlappingIndices Two indices provided were overlapping.
Trait Implementations
impl Clone for GetDisjointMutError
fn clone(&self) -> Self
impl Debug for GetDisjointMutError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for GetDisjointMutError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for GetDisjointMutError
impl Error for GetDisjointMutError
impl PartialEq for GetDisjointMutError
fn eq(&self, other: &Self) -> bool