[][src]Enum f1_api::packet::lap::DriverStatus

pub enum DriverStatus {
    InGarage,
    FlyingLap,
    InLap,
    OutLap,
    OnTrack,
}

Statuses a driver can have during a lap

Variants

InGarage

The driver is still in the garage, and has not left it yet.

FlyingLap

The driver is on a flying lap, and cars that are on an in- or out-lap have to give room.

InLap

The driver is on an in-lap, i.e. on the way to the pits. The in-lap is often used to cool the car down, so the driver might be going slower than normal.

OutLap

The driver is on an out-lap. The out-lap is used to get heat into the tires and breaks to optimize them for the following flying lap.

OnTrack

The driver is on track, but not on a special lap. This is the case during a race or practice session, where drivers do many laps in a row.

Trait Implementations

impl Clone for DriverStatus[src]

impl Copy for DriverStatus[src]

impl Debug for DriverStatus[src]

impl Default for DriverStatus[src]

impl Eq for DriverStatus[src]

impl Hash for DriverStatus[src]

impl Ord for DriverStatus[src]

impl PartialEq<DriverStatus> for DriverStatus[src]

impl PartialOrd<DriverStatus> for DriverStatus[src]

impl StructuralEq for DriverStatus[src]

impl StructuralPartialEq for DriverStatus[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.