Struct pendulum::future::TimerBuilder
[−]
[src]
pub struct TimerBuilder { /* fields omitted */ }
Builder for configuring and constructing instances of Timer
.
Methods
impl TimerBuilder
[src]
fn with_pendulum_builder(self, builder: PendulumBuilder) -> TimerBuilder
[src]
Sets the PendulumBuilder
used to construct the backing Pendulum
.
fn with_channel_capacity(self, capacity: usize) -> TimerBuilder
[src]
Sets the channel capacity, used for communicating with the backing thread.
fn pendulum_builder(&self) -> &PendulumBuilder
[src]
PendulumBuilder
used to construct the backing Pendulum
.
fn channel_capacity(&self) -> usize
[src]
Capacity of the communication channel with the backing thread.
fn build(self) -> Timer
[src]
Construct a Timer
with the current configuration.
Trait Implementations
impl Default for TimerBuilder
[src]
fn default() -> TimerBuilder
[src]
Returns the "default value" for a type. Read more