pub enum AllocateError {
CapacityOverflow,
Allocation(Layout),
Internal(TryReserveError),
LengthOverflow {
current: usize,
additional: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for AllocateError
impl Debug for AllocateError
Auto Trait Implementations§
impl Freeze for AllocateError
impl RefUnwindSafe for AllocateError
impl Send for AllocateError
impl Sync for AllocateError
impl Unpin for AllocateError
impl UnsafeUnpin for AllocateError
impl UnwindSafe for AllocateError
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