[][src]Enum f1_api::packet::status::ErsDeployMode

pub enum ErsDeployMode {
    None,
    Low,
    Medium,
    High,
    Overtake,
    Hotlap,
}

Deploy modes for the Energy Recovery System

The Energy Recovery System, or ERS, can be operated in different modes that determine how much energy is harvested under braking, and how much is used to accelerate the car.

Variants

None

The Energy Recovery System is disabled or does not exist in the current car.

Low

The Energy Recovery System operates at a low setting, and harvest more energy than it consumes.

Medium

The Energy Recovery System operates at a medium setting, harvesting and deploying at a similar rate.

High

The Energy Recovery System operates at a high setting, and deploys more energy than it can harvest.

Overtake

The Energy Recovery System operates at a very high level, and deploys far more energy than it can harvest.

Hotlap

The Energy Recovery System operates at a level optimized for qualifying laps, which aims to deplete the batteries by the end of the lap.

Trait Implementations

impl Clone for ErsDeployMode[src]

impl Copy for ErsDeployMode[src]

impl Debug for ErsDeployMode[src]

impl Default for ErsDeployMode[src]

impl Eq for ErsDeployMode[src]

impl Hash for ErsDeployMode[src]

impl Ord for ErsDeployMode[src]

impl PartialEq<ErsDeployMode> for ErsDeployMode[src]

impl PartialOrd<ErsDeployMode> for ErsDeployMode[src]

impl StructuralEq for ErsDeployMode[src]

impl StructuralPartialEq for ErsDeployMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.