#[non_exhaustive]pub struct NonEmptySmallVecEmptyError;Expand description
empty value cannot be turned into a NonEmptySmallVec
Implementations§
Trait Implementations§
Source§impl Clone for NonEmptySmallVecEmptyError
impl Clone for NonEmptySmallVecEmptyError
Source§fn clone(&self) -> NonEmptySmallVecEmptyError
fn clone(&self) -> NonEmptySmallVecEmptyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonEmptySmallVecEmptyError
impl Debug for NonEmptySmallVecEmptyError
Source§impl Default for NonEmptySmallVecEmptyError
impl Default for NonEmptySmallVecEmptyError
Source§fn default() -> NonEmptySmallVecEmptyError
fn default() -> NonEmptySmallVecEmptyError
Returns the “default value” for a type. Read more
Source§impl Display for NonEmptySmallVecEmptyError
impl Display for NonEmptySmallVecEmptyError
impl Eq for NonEmptySmallVecEmptyError
Source§impl Error for NonEmptySmallVecEmptyError
impl Error for NonEmptySmallVecEmptyError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for NonEmptySmallVecEmptyError
Auto Trait Implementations§
impl Freeze for NonEmptySmallVecEmptyError
impl RefUnwindSafe for NonEmptySmallVecEmptyError
impl Send for NonEmptySmallVecEmptyError
impl Sync for NonEmptySmallVecEmptyError
impl Unpin for NonEmptySmallVecEmptyError
impl UnsafeUnpin for NonEmptySmallVecEmptyError
impl UnwindSafe for NonEmptySmallVecEmptyError
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