pub struct Full<T>(pub T);Expand description
Error returned when a bounded allocator is full.
Contains the value that could not be allocated, allowing recovery.
Tuple Fields§
§0: TImplementations§
Source§impl<T> Full<T>
impl<T> Full<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consumes the error, returning the value that could not be allocated.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Full<T>where
T: Freeze,
impl<T> RefUnwindSafe for Full<T>where
T: RefUnwindSafe,
impl<T> Send for Full<T>where
T: Send,
impl<T> Sync for Full<T>where
T: Sync,
impl<T> Unpin for Full<T>where
T: Unpin,
impl<T> UnsafeUnpin for Full<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Full<T>where
T: UnwindSafe,
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