pub struct GetManyMutError<const N: usize> { /* private fields */ }
🔬This is a nightly-only experimental API. (
get_many_mut
#104642)Expand description
The error type returned by get_many_mut<N>
.
It indicates one of two possible errors:
- An index is out-of-bounds.
- The same index appeared multiple times in the array.
§Examples
Trait Implementations§
Source§impl<const N: usize> Clone for GetManyMutError<N>
impl<const N: usize> Clone for GetManyMutError<N>
Source§fn clone(&self) -> GetManyMutError<N>
fn clone(&self) -> GetManyMutError<N>
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<const N: usize> Debug for GetManyMutError<N>
impl<const N: usize> Debug for GetManyMutError<N>
Source§impl<const N: usize> Display for GetManyMutError<N>
impl<const N: usize> Display for GetManyMutError<N>
Source§impl<const N: usize> Error for GetManyMutError<N>
impl<const N: usize> Error for GetManyMutError<N>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<const N: usize> PartialEq for GetManyMutError<N>
impl<const N: usize> PartialEq for GetManyMutError<N>
impl<const N: usize> Eq for GetManyMutError<N>
impl<const N: usize> StructuralPartialEq for GetManyMutError<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for GetManyMutError<N>
impl<const N: usize> RefUnwindSafe for GetManyMutError<N>
impl<const N: usize> Send for GetManyMutError<N>
impl<const N: usize> Sync for GetManyMutError<N>
impl<const N: usize> Unpin for GetManyMutError<N>
impl<const N: usize> UnwindSafe for GetManyMutError<N>
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