Struct UnitError
pub struct UnitError { /* private fields */ }
Error returned by the derived implementations when an arithmetic or logic operation is invoked on a unit-like variant of an enum.
Trait Implementations
impl Clone for UnitError
fn clone(&self) -> Self
impl Copy for UnitError
impl Debug for UnitError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for UnitError
fn fmt(&self, f: &mut Formatter<'_>) -> Result