pub enum TelemetrySample {
PositionFix(PositionFix),
BatteryStatus(BatteryStatus),
LinkStats(LinkStats),
DeviceHealth(DeviceHealth),
Point(TelemetryPoint),
}Variants§
PositionFix(PositionFix)
BatteryStatus(BatteryStatus)
LinkStats(LinkStats)
DeviceHealth(DeviceHealth)
Point(TelemetryPoint)
Implementations§
Source§impl TelemetrySample
impl TelemetrySample
pub fn into_points( self, source_hash: [u8; 16], ) -> (Vec<TelemetryPoint>, Option<PositionFix>)
Trait Implementations§
Source§impl Clone for TelemetrySample
impl Clone for TelemetrySample
Source§fn clone(&self) -> TelemetrySample
fn clone(&self) -> TelemetrySample
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 moreSource§impl Debug for TelemetrySample
impl Debug for TelemetrySample
Source§impl PartialEq for TelemetrySample
impl PartialEq for TelemetrySample
Source§fn eq(&self, other: &TelemetrySample) -> bool
fn eq(&self, other: &TelemetrySample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelemetrySample
Auto Trait Implementations§
impl Freeze for TelemetrySample
impl RefUnwindSafe for TelemetrySample
impl Send for TelemetrySample
impl Sync for TelemetrySample
impl Unpin for TelemetrySample
impl UnsafeUnpin for TelemetrySample
impl UnwindSafe for TelemetrySample
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