Enum SetModeError
pub enum SetModeError {
Uninitialized,
}Available on crate feature
sensors only.Expand description
Possible errors when attempting to set the mode of a sensor driver.
Variants§
Uninitialized
The sensor driver is uninitialized. It has not been initialized yet, or initialization could not succeed.
Trait Implementations§
§impl Debug for SetModeError
impl Debug for SetModeError
§impl Display for SetModeError
impl Display for SetModeError
§impl Error for SetModeError
impl Error for SetModeError
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()
Auto Trait Implementations§
impl Freeze for SetModeError
impl RefUnwindSafe for SetModeError
impl Send for SetModeError
impl Sync for SetModeError
impl Unpin for SetModeError
impl UnwindSafe for SetModeError
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