pub struct Size0Error;Expand description
Error returned by operations which would cause Vec1 to have a length of 0.
Trait Implementations§
Source§impl Clone for Size0Error
impl Clone for Size0Error
Source§fn clone(&self) -> Size0Error
fn clone(&self) -> Size0Error
Returns a duplicate of the value. Read more
1.0.0 · 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 Size0Error
impl Debug for Size0Error
Source§impl Display for Size0Error
impl Display for Size0Error
Source§impl Error for Size0Error
Available on crate feature std only.
impl Error for Size0Error
Available on crate feature
std only.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()
Source§impl Hash for Size0Error
impl Hash for Size0Error
Source§impl PartialEq for Size0Error
impl PartialEq for Size0Error
impl Copy for Size0Error
impl Eq for Size0Error
impl StructuralPartialEq for Size0Error
Auto Trait Implementations§
impl Freeze for Size0Error
impl RefUnwindSafe for Size0Error
impl Send for Size0Error
impl Sync for Size0Error
impl Unpin for Size0Error
impl UnwindSafe for Size0Error
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