pub enum NeverError {}Expand description
Error type for String, impossible to instantiate.
Rust optimizes Result<(), NeverError> to 0-size.
Auto Trait Implementations§
impl Freeze for NeverError
impl RefUnwindSafe for NeverError
impl Send for NeverError
impl Sync for NeverError
impl Unpin for NeverError
impl UnsafeUnpin 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