pub enum ParseLineWidthError {
ParseError(ParseIntError),
TryFromIntError(LineWidthFromIntError),
}
Expand description
Error type returned when parsing a LineWidth from a string fails
Variants§
ParseError(ParseIntError)
The string could not be parsed as a valid u16
TryFromIntError(LineWidthFromIntError)
Trait Implementations§
source§impl Debug for ParseLineWidthError
impl Debug for ParseLineWidthError
Auto Trait Implementations§
impl Freeze for ParseLineWidthError
impl RefUnwindSafe for ParseLineWidthError
impl Send for ParseLineWidthError
impl Sync for ParseLineWidthError
impl Unpin for ParseLineWidthError
impl UnwindSafe for ParseLineWidthError
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