pub enum NumeratorError {
InvalidValue(u8),
CannotParse(String),
}Expand description
Error type for numerator operations.
Variants§
InvalidValue(u8)
The numerator value is out of valid range (1-99).
CannotParse(String)
Failed to parse the numerator from a string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NumeratorError
impl RefUnwindSafe for NumeratorError
impl Send for NumeratorError
impl Sync for NumeratorError
impl Unpin for NumeratorError
impl UnwindSafe for NumeratorError
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