pub struct EmptyError;Expand description
Error from trying to convert from an empty Vec.
Trait Implementations§
Source§impl Clone for EmptyError
impl Clone for EmptyError
impl Copy for EmptyError
Source§impl Debug for EmptyError
impl Debug for EmptyError
Source§impl Default for EmptyError
impl Default for EmptyError
Source§impl Display for EmptyError
impl Display for EmptyError
impl Eq for EmptyError
Source§impl Error for EmptyError
Available on crate feature std only.
impl Error for EmptyError
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 EmptyError
impl Hash for EmptyError
Source§impl PartialEq for EmptyError
impl PartialEq for EmptyError
impl StructuralPartialEq for EmptyError
Auto Trait Implementations§
impl Freeze for EmptyError
impl RefUnwindSafe for EmptyError
impl Send for EmptyError
impl Sync for EmptyError
impl Unpin for EmptyError
impl UnsafeUnpin for EmptyError
impl UnwindSafe for EmptyError
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