Struct not_empty::EmptyError
source · [−]pub struct EmptyError;Expand description
An error thrown when the input collection is empty.
Trait Implementations
sourceimpl Clone for EmptyError
impl Clone for EmptyError
sourcefn clone(&self) -> EmptyError
fn clone(&self) -> EmptyError
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 Debug for EmptyError
impl Debug for EmptyError
sourceimpl Display for EmptyError
impl Display for EmptyError
sourceimpl Error for EmptyError
impl Error for EmptyError
1.30.0 · 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 PartialEq<EmptyError> for EmptyError
impl PartialEq<EmptyError> for EmptyError
sourcefn eq(&self, other: &EmptyError) -> bool
fn eq(&self, other: &EmptyError) -> bool
impl Copy for EmptyError
impl Eq for EmptyError
impl StructuralEq for EmptyError
impl StructuralPartialEq for EmptyError
Auto Trait Implementations
impl RefUnwindSafe for EmptyError
impl Send for EmptyError
impl Sync for EmptyError
impl Unpin for EmptyError
impl UnwindSafe for EmptyError
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