pub enum DataType {
Telemetry,
Status,
Command,
Configuration,
Coordination,
AggregatedTelemetry,
}Expand description
Type of data being routed
Variants§
Telemetry
Telemetry data from sensors/platforms (flows upward)
Status
Status updates (typically flows upward)
Command
Commands for execution (flows downward)
Configuration
Configuration updates (flows downward)
Coordination
Coordination messages between lateral peers (same level)
AggregatedTelemetry
Aggregated telemetry (flows upward, higher-level summary)
Implementations§
Source§impl DataType
impl DataType
Sourcepub fn typical_direction(&self) -> DataDirection
pub fn typical_direction(&self) -> DataDirection
Get the typical direction for this data type
Sourcepub fn requires_aggregation(&self) -> bool
pub fn requires_aggregation(&self) -> bool
Check if this data type requires aggregation
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataType
impl<'de> Deserialize<'de> for DataType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.