pub struct AllocErr {
pub layout: Layout,
}
Expand description
Error returned from the allocator.
Fields§
§layout: Layout
The requested layout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AllocErr
impl RefUnwindSafe for AllocErr
impl Send for AllocErr
impl Sync for AllocErr
impl Unpin for AllocErr
impl UnwindSafe for AllocErr
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