pub enum NoError {}Expand description
An uninhabited error type for simple requests and responses.
Since these types are built to never error on their operation, and ! is not the stable unique
representation for uninhabited types, this simple enum without variants is used instead.
Implementations§
Trait Implementations§
Source§impl Ord for NoError
impl Ord for NoError
Source§impl PartialOrd for NoError
impl PartialOrd for NoError
impl Copy for NoError
impl Eq for NoError
impl StructuralPartialEq for NoError
Auto Trait Implementations§
impl Freeze for NoError
impl RefUnwindSafe for NoError
impl Send for NoError
impl Sync for NoError
impl Unpin for NoError
impl UnwindSafe for NoError
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