Struct mio::timer::Builder [] [src]

pub struct Builder {
    // some fields omitted
}

Methods

impl Builder
[src]

fn tick_duration(self, duration: Duration) -> Builder

fn num_slots(self, num_slots: usize) -> Builder

fn capacity(self, capacity: usize) -> Builder

fn build<T>(self) -> Timer<T>

Trait Implementations

impl Default for Builder
[src]

fn default() -> Builder

Returns the "default value" for a type. Read more