Struct staticvec::PushCapacityError
source · [−]pub struct PushCapacityError<T, const N: usize>(_);
Expand description
Implementations
sourceimpl<T, const N: usize> PushCapacityError<T, N>
impl<T, const N: usize> PushCapacityError<T, N>
sourcepub fn into_value(self) -> T
pub fn into_value(self) -> T
Extracts the failed value from the error.
Trait Implementations
sourceimpl<T, const N: usize> AsMut<T> for PushCapacityError<T, N>
impl<T, const N: usize> AsMut<T> for PushCapacityError<T, N>
sourceimpl<T, const N: usize> AsRef<T> for PushCapacityError<T, N>
impl<T, const N: usize> AsRef<T> for PushCapacityError<T, N>
sourceimpl<T: Clone, const N: usize> Clone for PushCapacityError<T, N>
impl<T: Clone, const N: usize> Clone for PushCapacityError<T, N>
sourcefn clone(&self) -> PushCapacityError<T, N>
fn clone(&self) -> PushCapacityError<T, N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T, const N: usize> Debug for PushCapacityError<T, N>
impl<T, const N: usize> Debug for PushCapacityError<T, N>
sourceimpl<T: Debug, const N: usize> Debug for PushCapacityError<T, N>
impl<T: Debug, const N: usize> Debug for PushCapacityError<T, N>
sourceimpl<T, const N: usize> Display for PushCapacityError<T, N>
impl<T, const N: usize> Display for PushCapacityError<T, N>
sourceimpl<T: Debug, const N: usize> Error for PushCapacityError<T, N>
Available on crate feature std
only.
impl<T: Debug, const N: usize> Error for PushCapacityError<T, N>
Available on crate feature
std
only.sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<T: PartialEq, const N: usize> PartialEq<PushCapacityError<T, N>> for PushCapacityError<T, N>
impl<T: PartialEq, const N: usize> PartialEq<PushCapacityError<T, N>> for PushCapacityError<T, N>
sourcefn eq(&self, other: &PushCapacityError<T, N>) -> bool
fn eq(&self, other: &PushCapacityError<T, N>) -> bool
impl<T: Eq, const N: usize> Eq for PushCapacityError<T, N>
impl<T, const N: usize> StructuralEq for PushCapacityError<T, N>
impl<T, const N: usize> StructuralPartialEq for PushCapacityError<T, N>
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for PushCapacityError<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for PushCapacityError<T, N>where
T: Send,
impl<T, const N: usize> Sync for PushCapacityError<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for PushCapacityError<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for PushCapacityError<T, N>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more