pub struct TryAllocError { /* private fields */ }Expand description
Error type returned when a memory allocation operation fails.
This error contains both an error code indicating the type of failure and a descriptive message explaining what went wrong.
§Examples
// TryAllocError is typically created internally by the library
// when allocation operations failAuto Trait Implementations§
impl Freeze for TryAllocError
impl RefUnwindSafe for TryAllocError
impl Send for TryAllocError
impl Sync for TryAllocError
impl Unpin for TryAllocError
impl UnwindSafe for TryAllocError
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