pub enum ReallocFailedError {
Unsupported,
SizeUnsupported,
OutOfMemory,
}
Expand description
A marker error to indicate in-place reallocation failed
Variants
Unsupported
Indicates that the operation is unsupported
SizeUnsupported
Indicates that the vector is too large to reallocate in-place
OutOfMemory
Indicates that the garbage collector is out of memory
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReallocFailedError
impl Send for ReallocFailedError
impl Sync for ReallocFailedError
impl Unpin for ReallocFailedError
impl UnwindSafe for ReallocFailedError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more