Struct mio_extras::timer::Builder [] [src]

pub struct Builder { /* fields omitted */ }

Used to create a Timer.

Methods

impl Builder
[src]

[src]

Set the tick duration. Default is 100ms.

[src]

Set the number of slots. Default is 256.

[src]

Set the capacity. Default is 65536.

[src]

Build a Timer with the parameters set on this Builder.

Trait Implementations

impl Default for Builder
[src]

[src]

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

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder