pub enum NeverError {}Expand description
Represents errors that are never encountered.
This is essentially !, the never type.
Trait Implementations§
Source§impl Debug for NeverError
impl Debug for NeverError
Source§impl Display for NeverError
impl Display for NeverError
Source§impl Error for NeverError
impl Error for NeverError
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()
Auto Trait Implementations§
impl Freeze for NeverError
impl RefUnwindSafe for NeverError
impl Send for NeverError
impl Sync for NeverError
impl Unpin for NeverError
impl UnwindSafe for NeverError
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