#[repr(u8)]pub enum SensorType {
Camera = 0,
Microphone = 1,
NetworkTap = 2,
MarketFeed = 3,
GitStream = 4,
FileSystem = 5,
SystemMetrics = 6,
Custom = 255,
}Expand description
Type of sensor data source.
Variants§
Camera = 0
Camera/video sensor.
Microphone = 1
Microphone/audio sensor.
NetworkTap = 2
Network traffic tap.
MarketFeed = 3
Financial market data feed.
GitStream = 4
Git repository event stream.
FileSystem = 5
File system change events.
SystemMetrics = 6
System metrics (CPU, memory, etc.).
Custom = 255
Custom/user-defined sensor type.
Implementations§
Trait Implementations§
Source§impl Clone for SensorType
impl Clone for SensorType
Source§fn clone(&self) -> SensorType
fn clone(&self) -> SensorType
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 SensorType
impl Debug for SensorType
Source§impl Default for SensorType
impl Default for SensorType
Source§impl Hash for SensorType
impl Hash for SensorType
Source§impl PartialEq for SensorType
impl PartialEq for SensorType
impl Copy for SensorType
impl Eq for SensorType
impl StructuralPartialEq for SensorType
Auto Trait Implementations§
impl Freeze for SensorType
impl RefUnwindSafe for SensorType
impl Send for SensorType
impl Sync for SensorType
impl Unpin for SensorType
impl UnsafeUnpin for SensorType
impl UnwindSafe for SensorType
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