pub enum Event {
Show 37 variants Timer, Workout, WorkoutStep, PowerDown, PowerUp, OffCourse, Session, Lap, CoursePoint, Battery, VirtualPartnerPace, HrHighAlert, HrLowAlert, SpeedHighAlert, SpeedLowAlert, CadHighAlert, CadLowAlert, PowerHighAlert, PowerLowAlert, RecoveryHr, BatteryLow, TimeDurationAlert, DistanceDurationAlert, CalorieDurationAlert, Activity, FitnessEquipment, Length, UserMarker, SportPoint, Calibration, FrontGearChange, RearGearChange, RiderPositionChange, ElevHighAlert, ElevLowAlert, CommTimeout, Unknown,
}

Variants

Timer

Group 0. Start / stop_all

Workout

start / stop

WorkoutStep

Start at beginning of workout. Stop at end of each step.

PowerDown

stop_all group 0

PowerUp

stop_all group 0

OffCourse

start / stop group 0

Session

Stop at end of each session.

Lap

Stop at end of each lap.

CoursePoint

marker

Battery

marker

VirtualPartnerPace

Group 1. Start at beginning of activity if VP enabled, when VP pace is changed during activity or VP enabled mid activity. stop_disable when VP disabled.

HrHighAlert

Group 0. Start / stop when in alert condition.

HrLowAlert

Group 0. Start / stop when in alert condition.

SpeedHighAlert

Group 0. Start / stop when in alert condition.

SpeedLowAlert

Group 0. Start / stop when in alert condition.

CadHighAlert

Group 0. Start / stop when in alert condition.

CadLowAlert

Group 0. Start / stop when in alert condition.

PowerHighAlert

Group 0. Start / stop when in alert condition.

PowerLowAlert

Group 0. Start / stop when in alert condition.

RecoveryHr

marker

BatteryLow

marker

TimeDurationAlert

Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled.

DistanceDurationAlert

Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled.

CalorieDurationAlert

Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled.

Activity

Group 1.. Stop at end of activity.

FitnessEquipment

marker

Length

Stop at end of each length.

UserMarker

marker

SportPoint

marker

Calibration

start/stop/marker

FrontGearChange

marker

RearGearChange

marker

RiderPositionChange

marker

ElevHighAlert

Group 0. Start / stop when in alert condition.

ElevLowAlert

Group 0. Start / stop when in alert condition.

CommTimeout

marker

Unknown

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.