pub enum SampleRate {
Disabled,
Ulp,
Continuous,
Lp,
UlpMeasurementOnDemand,
}Expand description
Valid sampling rates for the BSEC algorithm.
Variants§
Disabled
Disabled, not being sampled.
Ulp
Ultra-low power, see Bosch BSEC documentation.
Continuous
Continuous mode for testing, see Bosch BSEC documentation.
Lp
Low power, see Bosch BSEC documentation.
UlpMeasurementOnDemand
Perform a single measurement on demand between sampling intervals.
See Bosch BSEC documentation.
Trait Implementations§
Source§impl Clone for SampleRate
impl Clone for SampleRate
Source§fn clone(&self) -> SampleRate
fn clone(&self) -> SampleRate
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 SampleRate
impl Debug for SampleRate
Source§impl From<SampleRate> for f32
impl From<SampleRate> for f32
Source§fn from(sample_rate: SampleRate) -> Self
fn from(sample_rate: SampleRate) -> Self
Converts to this type from the input type.
Source§impl From<SampleRate> for f64
impl From<SampleRate> for f64
Source§fn from(sample_rate: SampleRate) -> Self
fn from(sample_rate: SampleRate) -> Self
Converts to this type from the input type.
Source§impl Hash for SampleRate
impl Hash for SampleRate
Source§impl PartialEq for SampleRate
impl PartialEq for SampleRate
impl Copy for SampleRate
impl Eq for SampleRate
impl StructuralPartialEq for SampleRate
Auto Trait Implementations§
impl Freeze for SampleRate
impl RefUnwindSafe for SampleRate
impl Send for SampleRate
impl Sync for SampleRate
impl Unpin for SampleRate
impl UnwindSafe for SampleRate
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