pub struct CapacityExceeded<T>(/* private fields */);Expand description
An error type that gets returned on trying to add an element to an already full arena. It contains the element so you can reuse it
Implementations§
Source§impl<T> CapacityExceeded<T>
impl<T> CapacityExceeded<T>
Sourcepub fn into_value(self) -> T
pub fn into_value(self) -> T
Consumes self and returns the contained value.
Trait Implementations§
Source§impl<T> Debug for CapacityExceeded<T>
impl<T> Debug for CapacityExceeded<T>
Source§impl<T> Display for CapacityExceeded<T>
impl<T> Display for CapacityExceeded<T>
Source§impl<T> Error for CapacityExceeded<T>
Available on crate feature alloc only.
impl<T> Error for CapacityExceeded<T>
Available on crate feature
alloc only.Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl<T> Freeze for CapacityExceeded<T>where
T: Freeze,
impl<T> RefUnwindSafe for CapacityExceeded<T>where
T: RefUnwindSafe,
impl<T> Send for CapacityExceeded<T>where
T: Send,
impl<T> Sync for CapacityExceeded<T>where
T: Sync,
impl<T> Unpin for CapacityExceeded<T>where
T: Unpin,
impl<T> UnwindSafe for CapacityExceeded<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