pub enum UnitNumberError {
Empty,
}Variants§
Empty
Trait Implementations§
Source§impl Clone for UnitNumberError
impl Clone for UnitNumberError
Source§fn clone(&self) -> UnitNumberError
fn clone(&self) -> UnitNumberError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnitNumberError
impl Debug for UnitNumberError
Source§impl Display for UnitNumberError
impl Display for UnitNumberError
Source§impl Error for UnitNumberError
impl Error for UnitNumberError
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 PartialEq for UnitNumberError
impl PartialEq for UnitNumberError
Source§fn eq(&self, other: &UnitNumberError) -> bool
fn eq(&self, other: &UnitNumberError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnitNumberError
impl Eq for UnitNumberError
impl StructuralPartialEq for UnitNumberError
Auto Trait Implementations§
impl Freeze for UnitNumberError
impl RefUnwindSafe for UnitNumberError
impl Send for UnitNumberError
impl Sync for UnitNumberError
impl Unpin for UnitNumberError
impl UnsafeUnpin for UnitNumberError
impl UnwindSafe for UnitNumberError
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