pub enum PressureSystemValueError {
EmptyPressureSystemName,
EmptyPressureSystemStrength,
}Expand description
Errors returned by pressure-system constructors.
Variants§
EmptyPressureSystemName
Pressure system names cannot be empty.
EmptyPressureSystemStrength
Pressure system strength labels cannot be empty.
Trait Implementations§
Source§impl Clone for PressureSystemValueError
impl Clone for PressureSystemValueError
Source§fn clone(&self) -> PressureSystemValueError
fn clone(&self) -> PressureSystemValueError
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 moreSource§impl Debug for PressureSystemValueError
impl Debug for PressureSystemValueError
Source§impl Display for PressureSystemValueError
impl Display for PressureSystemValueError
Source§impl Error for PressureSystemValueError
impl Error for PressureSystemValueError
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 PressureSystemValueError
impl PartialEq for PressureSystemValueError
impl Copy for PressureSystemValueError
impl Eq for PressureSystemValueError
impl StructuralPartialEq for PressureSystemValueError
Auto Trait Implementations§
impl Freeze for PressureSystemValueError
impl RefUnwindSafe for PressureSystemValueError
impl Send for PressureSystemValueError
impl Sync for PressureSystemValueError
impl Unpin for PressureSystemValueError
impl UnsafeUnpin for PressureSystemValueError
impl UnwindSafe for PressureSystemValueError
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