pub enum ReallocError<'a, T> {
CouldNotGrowOrMove(&'a mut [T]),
CouldNotShrink(&'a mut [MaybeUninit<T>]),
}Expand description
The result of a failed resize_realloc call.
Variants§
CouldNotGrowOrMove(&'a mut [T])
CouldNotShrink(&'a mut [MaybeUninit<T>])
Auto Trait Implementations§
impl<'a, T> Freeze for ReallocError<'a, T>
impl<'a, T> RefUnwindSafe for ReallocError<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ReallocError<'a, T>where
T: Send,
impl<'a, T> Sync for ReallocError<'a, T>where
T: Sync,
impl<'a, T> Unpin for ReallocError<'a, T>
impl<'a, T> !UnwindSafe for ReallocError<'a, T>
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