Enum TriggerMeasurementError
pub enum TriggerMeasurementError {
NonEnabled,
}Available on crate feature
sensors only.Expand description
Represents errors happening when triggering a sensor measurement.
Variants§
NonEnabled
The sensor driver is not enabled (e.g., it may be disabled or sleeping).
Trait Implementations§
§impl Debug for TriggerMeasurementError
impl Debug for TriggerMeasurementError
§impl Display for TriggerMeasurementError
impl Display for TriggerMeasurementError
§impl Error for TriggerMeasurementError
impl Error for TriggerMeasurementError
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 TriggerMeasurementError
impl RefUnwindSafe for TriggerMeasurementError
impl Send for TriggerMeasurementError
impl Sync for TriggerMeasurementError
impl Unpin for TriggerMeasurementError
impl UnwindSafe for TriggerMeasurementError
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