pub enum BadPortion {
BadAmount(String),
BadUnit(String),
MissingUnit,
}Variants§
Trait Implementations§
Source§impl Debug for BadPortion
impl Debug for BadPortion
Auto Trait Implementations§
impl Freeze for BadPortion
impl RefUnwindSafe for BadPortion
impl Send for BadPortion
impl Sync for BadPortion
impl Unpin for BadPortion
impl UnwindSafe for BadPortion
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