Enum PressureUnitLabelParseError
pub enum PressureUnitLabelParseError {
Empty,
}Expand description
Error returned when parsing pressure unit labels fails.
Variants§
Empty
The pressure unit label was empty after trimming whitespace.
Trait Implementations§
§impl Clone for PressureUnitLabelParseError
impl Clone for PressureUnitLabelParseError
§fn clone(&self) -> PressureUnitLabelParseError
fn clone(&self) -> PressureUnitLabelParseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PressureUnitLabelParseError
impl Debug for PressureUnitLabelParseError
§impl Display for PressureUnitLabelParseError
impl Display for PressureUnitLabelParseError
§impl Error for PressureUnitLabelParseError
impl Error for PressureUnitLabelParseError
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()
§impl PartialEq for PressureUnitLabelParseError
impl PartialEq for PressureUnitLabelParseError
impl Copy for PressureUnitLabelParseError
impl Eq for PressureUnitLabelParseError
impl StructuralPartialEq for PressureUnitLabelParseError
Auto Trait Implementations§
impl Freeze for PressureUnitLabelParseError
impl RefUnwindSafe for PressureUnitLabelParseError
impl Send for PressureUnitLabelParseError
impl Sync for PressureUnitLabelParseError
impl Unpin for PressureUnitLabelParseError
impl UnsafeUnpin for PressureUnitLabelParseError
impl UnwindSafe for PressureUnitLabelParseError
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