pub enum DeviceRateClass {
Sparse,
Interactive,
Surface,
}Expand description
Coarse rate class for pacing the device adapter loop.
Variants§
Sparse
Low-rate sensor stream with no local controls or surface output.
Interactive
Interactive device with local controls but no surface output.
Surface
Surface-capable device with local output that benefits from tight pacing.
Trait Implementations§
Source§impl Clone for DeviceRateClass
impl Clone for DeviceRateClass
Source§fn clone(&self) -> DeviceRateClass
fn clone(&self) -> DeviceRateClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceRateClass
Source§impl Debug for DeviceRateClass
impl Debug for DeviceRateClass
impl Eq for DeviceRateClass
Source§impl PartialEq for DeviceRateClass
impl PartialEq for DeviceRateClass
impl StructuralPartialEq for DeviceRateClass
Auto Trait Implementations§
impl Freeze for DeviceRateClass
impl RefUnwindSafe for DeviceRateClass
impl Send for DeviceRateClass
impl Sync for DeviceRateClass
impl Unpin for DeviceRateClass
impl UnsafeUnpin for DeviceRateClass
impl UnwindSafe for DeviceRateClass
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