MCPcopy Create free account

hub / github.com/Yoric/timer.rs / functions

Functions22 in github.com/Yoric/timer.rs

↓ 11 callersMethodclone
(&self)
src/lib.rs:888
↓ 7 callersMethodschedule_with_delay
(&self, delay: Duration, data: T)
src/lib.rs:324
↓ 6 callersMethodignore
Ignores the guard, preventing it from disabling the scheduled item. This can be used to avoid maintaining a Guard handle for items that will never be
src/lib.rs:759
↓ 4 callersMethodschedule
(&self, date: DateTime<D>, repeat: Option<Duration>, data: T)
src/lib.rs:339
↓ 1 callersMethodexecute
(&mut self, mut data: Box<dyn FnMut() + Send>)
src/lib.rs:105
↓ 1 callersMethodexecute_clone
(&mut self, mut data: Box<dyn FnMut() + Send>)
src/lib.rs:109
↓ 1 callersMethodrun
(&mut self)
src/lib.rs:159
↓ 1 callersMethodschedule_with_date
(&self, date: DateTime<D>, data: T)
src/lib.rs:328
↓ 1 callersMethodshould_execute
(&self)
src/lib.rs:752
Methodcmp
(&self, other: &Self)
src/lib.rs:32
Methoddrop
Stop the timer threads.
src/lib.rs:260
Methodeq
(&self, other: &Self)
src/lib.rs:43
Methodnew
Create a timer base. This immediatey launches two threads, which will remain launched until the timer is dropped. As expected, the threads spend most
src/lib.rs:274
Methodpartial_cmp
(&self, other: &Self)
src/lib.rs:37
Methodschedule_repeating
(&self, repeat: Duration, data: T)
src/lib.rs:335
Functiontest_guard_ignore
()
src/lib.rs:868
Functiontest_guards
()
src/lib.rs:851
Functiontest_message_timer
()
src/lib.rs:831
Functiontest_no_clone
()
src/lib.rs:894
Functiontest_schedule_with_delay
()
src/lib.rs:782
Functiontest_too_much_work
()
src/lib.rs:912
Methodwith_capacity
(cap: usize)
src/lib.rs:66