#[repr(u8)]pub enum TelemetryType {
Erpm = 0,
Temperature = 1,
Voltage = 2,
Current = 3,
Debug1 = 4,
Debug2 = 5,
StressLevel = 6,
StateEvents = 7,
}Variants§
Erpm = 0
Temperature = 1
Voltage = 2
Current = 3
Debug1 = 4
Debug2 = 5
StressLevel = 6
StateEvents = 7
Implementations§
Trait Implementations§
Source§impl Clone for TelemetryType
impl Clone for TelemetryType
Source§fn clone(&self) -> TelemetryType
fn clone(&self) -> TelemetryType
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 TelemetryType
Source§impl Debug for TelemetryType
impl Debug for TelemetryType
Source§impl Default for TelemetryType
impl Default for TelemetryType
Source§fn default() -> TelemetryType
fn default() -> TelemetryType
Returns the “default value” for a type. Read more
impl Eq for TelemetryType
Source§impl PartialEq for TelemetryType
impl PartialEq for TelemetryType
impl StructuralPartialEq for TelemetryType
Source§impl TryFrom<u8> for TelemetryType
impl TryFrom<u8> for TelemetryType
Source§fn try_from(value: u8) -> Result<Self, DshotError>
fn try_from(value: u8) -> Result<Self, DshotError>
Validating conversion from u8 to TelemetryType. Invalid values return error.
Source§type Error = DshotError
type Error = DshotError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TelemetryType
impl RefUnwindSafe for TelemetryType
impl Send for TelemetryType
impl Sync for TelemetryType
impl Unpin for TelemetryType
impl UnsafeUnpin for TelemetryType
impl UnwindSafe for TelemetryType
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