Struct mio_extras::timer::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
Used to create a Timer
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn tick_duration(self, duration: Duration) -> Builder
pub fn tick_duration(self, duration: Duration) -> Builder
Set the tick duration. Default is 100ms.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more