pub struct AllocError;Expand description
Error returned when memory allocation fails.
This is a zero-sized type indicating the allocator could not satisfy the request.
Auto Trait Implementations§
impl Freeze for AllocError
impl RefUnwindSafe for AllocError
impl Send for AllocError
impl Sync for AllocError
impl Unpin for AllocError
impl UnsafeUnpin for AllocError
impl UnwindSafe for AllocError
Blanket Implementations§
impl<T> AlignedRepr<T> for T
Source§impl<T> AlterRepr<T> for T
impl<T> AlterRepr<T> for T
const IS_SWEAP_BYTES: bool = false
fn from_std_repr(v: T) -> T
fn into_std_repr(src: T) -> T
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