Enum deutsche_bahn_delay_reasons::Grund [−][src]
#[non_exhaustive] pub enum Grund {}Show 13 variants
FahrtFaelltAus, FaehrtHeuteNurBis(String), VerzoegerungenImBetriebsablauf, Gleiswechsel, FahrtFaelltAusMitErsatzfahrt(String), TechnischeStoerungenAmZug, VerspaetungEinesVorausfahrendenZuges, VerspaeteteBereitstellungDesZuges, Bauarbeiten, WitterungsbedingteStoerung, WeichenStoerung, AenderungImFahrtverlauf, Unwetter,
Expand description
Some of the possible reasons a Deutsche Bahn train could be delayed.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Trip cancelled.
FaehrtHeuteNurBis(String)
Trip only reaches a certain stop today.
Delays in operations.
Change of track.
FahrtFaelltAusMitErsatzfahrt(String)
Trip cancelled, there is replacement trip.
Technical difficulties with the train.
Delay of a previous train.
Delayed allocation of the train.
Construction work.
Weather-related difficulties.
Difficulties with a switch.
Changes in the journey course.
Storm or bad weather.
Implementations
Trait Implementations
Implement a standard distribution for our central delay code enum.
With this trait, rand::random()
can be used to get a random enum variant.
All members of enum variants must be default-constructible for that to work.
Generate a random value of T
, using rng
as the source of randomness.
Create an iterator that generates random values of T
, using rng
as
the source of randomness. Read more
Auto Trait Implementations
impl RefUnwindSafe for Grund
impl UnwindSafe for Grund