Enum myo::EventType [] [src]

#[repr(u32)]
pub enum EventType { Paired, Unpaired, Connected, Disconnected, ArmSynced, ArmUnsynced, Orientation, Pose, RSSI, Unlocked, Locked, EMG, BatteryLevel, WarmupCompleted, }

Types of events.

Variants

Successfully paired with a Myo.

Successfully unpaired from a Myo.

A Myo has successfully connected.

A Myo has been disconnected.

A Myo has recognized that the sync gesture has been successfully performed.

A Myo has been moved or removed from the arm.

Orientation data has been recevied.

A change in pose has been detected. @see libmyo_pose_t.

An RSSI value has been received.

A Myo has become unlocked.

A Myo has become locked.

EMG data has been received.

A battery level value has been received.

The warmup period has completed.

Trait Implementations

impl Debug for EventType
[src]

Formats the value using the given formatter.

impl PartialEq for EventType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for EventType
[src]

impl Clone for EventType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for EventType
[src]