Enum e_drone::system::DeviceType [−][src]
#[repr(u8)] pub enum DeviceType {}Show variants
None, Drone, Controller, LinkClient, LinkServer, BleClient, BleServer, Range, Base, ByScratch, Scratch, Entry, Tester, Monitor, Updater, Encrypter, Whispering, Broadcasting,
Variants
Implementations
impl DeviceType
[src]
impl DeviceType
[src]pub fn from_u8(data_u8: u8) -> DeviceType
[src]
Trait Implementations
impl Clone for DeviceType
[src]
impl Clone for DeviceType
[src]fn clone(&self) -> DeviceType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DeviceType
[src]
impl Copy for DeviceType
[src]impl Eq for DeviceType
[src]
impl Eq for DeviceType
[src]impl PartialEq<DeviceType> for DeviceType
[src]
impl PartialEq<DeviceType> for DeviceType
[src]impl StructuralEq for DeviceType
[src]
impl StructuralEq for DeviceType
[src]impl StructuralPartialEq for DeviceType
[src]
impl StructuralPartialEq for DeviceType
[src]impl TryFrom<u8> for DeviceType
[src]
impl TryFrom<u8> for DeviceType
[src]type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for DeviceType
[src]
impl TryFromPrimitive for DeviceType
[src]type Primitive = u8
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for DeviceType
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
impl UnwindSafe for DeviceType