Struct staticvec::PushCapacityError [−][src]
pub struct PushCapacityError<T, const N: usize>(_);
Expand description
Implementations
impl<T, const N: usize> PushCapacityError<T, N>
[src]
impl<T, const N: usize> PushCapacityError<T, N>
[src]pub fn into_value(self) -> T
[src]
pub fn into_value(self) -> T
[src]Extracts the failed value from the error.
Trait Implementations
impl<T, const N: usize> AsMut<T> for PushCapacityError<T, N>
[src]
impl<T, const N: usize> AsMut<T> for PushCapacityError<T, N>
[src]impl<T, const N: usize> AsRef<T> for PushCapacityError<T, N>
[src]
impl<T, const N: usize> AsRef<T> for PushCapacityError<T, N>
[src]impl<T: Clone, const N: usize> Clone for PushCapacityError<T, N>
[src]
impl<T: Clone, const N: usize> Clone for PushCapacityError<T, N>
[src]fn clone(&self) -> PushCapacityError<T, N>
[src]
fn clone(&self) -> PushCapacityError<T, N>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T, const N: usize> Debug for PushCapacityError<T, N>
[src]
impl<T, const N: usize> Debug for PushCapacityError<T, N>
[src]impl<T: Debug, const N: usize> Debug for PushCapacityError<T, N>
[src]
impl<T: Debug, const N: usize> Debug for PushCapacityError<T, N>
[src]impl<T, const N: usize> Display for PushCapacityError<T, N>
[src]
impl<T, const N: usize> Display for PushCapacityError<T, N>
[src]impl<T: Debug, const N: usize> Error for PushCapacityError<T, N>
[src]
impl<T: Debug, const N: usize> Error for PushCapacityError<T, N>
[src]This is supported on crate feature
std
only.fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl<T: PartialEq, const N: usize> PartialEq<PushCapacityError<T, N>> for PushCapacityError<T, N>
[src]
impl<T: PartialEq, const N: usize> PartialEq<PushCapacityError<T, N>> for PushCapacityError<T, N>
[src]fn eq(&self, other: &PushCapacityError<T, N>) -> bool
[src]
fn eq(&self, other: &PushCapacityError<T, N>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PushCapacityError<T, N>) -> bool
[src]
fn ne(&self, other: &PushCapacityError<T, N>) -> bool
[src]This method tests for !=
.
impl<T: Eq, const N: usize> Eq for PushCapacityError<T, N>
[src]
impl<T, const N: usize> StructuralEq for PushCapacityError<T, N>
[src]
impl<T, const N: usize> StructuralPartialEq for PushCapacityError<T, N>
[src]
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for PushCapacityError<T, N> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, const N: usize> Send for PushCapacityError<T, N> where
T: Send,
T: Send,
impl<T, const N: usize> Sync for PushCapacityError<T, N> where
T: Sync,
T: Sync,
impl<T, const N: usize> Unpin for PushCapacityError<T, N> where
T: Unpin,
T: Unpin,
impl<T, const N: usize> UnwindSafe for PushCapacityError<T, N> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more