Enum fruitbasket::RunPeriod [] [src]

pub enum RunPeriod {
    Once,
    Forever,
    Time(Duration),
}

Options for how long to run the event loop on each call

Variants

Run event loop once and return

Run event loop forever, never returning and blocking the main thread

Run event loop at least the specified length of time

Trait Implementations

impl PartialEq for RunPeriod
[src]

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

This method tests for !=.