pub struct ErrorDegreeCelsiusOutOfRange(pub f32);Expand description
Error indicating that the degree Celsius value is out of range.
§Arguments
0- The degree Celsius value that caused the error.
Tuple Fields§
§0: f32The invalid degree celsius value that caused the error.
Trait Implementations§
Source§impl Debug for ErrorDegreeCelsiusOutOfRange
impl Debug for ErrorDegreeCelsiusOutOfRange
Source§impl Error for ErrorDegreeCelsiusOutOfRange
impl Error for ErrorDegreeCelsiusOutOfRange
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 ErrorDegreeCelsiusOutOfRange
impl PartialEq for ErrorDegreeCelsiusOutOfRange
Source§fn eq(&self, other: &ErrorDegreeCelsiusOutOfRange) -> bool
fn eq(&self, other: &ErrorDegreeCelsiusOutOfRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorDegreeCelsiusOutOfRange
Auto Trait Implementations§
impl Freeze for ErrorDegreeCelsiusOutOfRange
impl RefUnwindSafe for ErrorDegreeCelsiusOutOfRange
impl Send for ErrorDegreeCelsiusOutOfRange
impl Sync for ErrorDegreeCelsiusOutOfRange
impl Unpin for ErrorDegreeCelsiusOutOfRange
impl UnwindSafe for ErrorDegreeCelsiusOutOfRange
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