Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Yoric/timer.rs
/ functions
Functions
22 in github.com/Yoric/timer.rs
⨍
Functions
22
◇
Types & classes
13
↓ 11 callers
Method
clone
(&self)
src/lib.rs:888
↓ 7 callers
Method
schedule_with_delay
(&self, delay: Duration, data: T)
src/lib.rs:324
↓ 6 callers
Method
ignore
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 callers
Method
schedule
(&self, date: DateTime<D>, repeat: Option<Duration>, data: T)
src/lib.rs:339
↓ 1 callers
Method
execute
(&mut self, mut data: Box<dyn FnMut() + Send>)
src/lib.rs:105
↓ 1 callers
Method
execute_clone
(&mut self, mut data: Box<dyn FnMut() + Send>)
src/lib.rs:109
↓ 1 callers
Method
run
(&mut self)
src/lib.rs:159
↓ 1 callers
Method
schedule_with_date
(&self, date: DateTime<D>, data: T)
src/lib.rs:328
↓ 1 callers
Method
should_execute
(&self)
src/lib.rs:752
Method
cmp
(&self, other: &Self)
src/lib.rs:32
Method
drop
Stop the timer threads.
src/lib.rs:260
Method
eq
(&self, other: &Self)
src/lib.rs:43
Method
new
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
Method
partial_cmp
(&self, other: &Self)
src/lib.rs:37
Method
schedule_repeating
(&self, repeat: Duration, data: T)
src/lib.rs:335
Function
test_guard_ignore
()
src/lib.rs:868
Function
test_guards
()
src/lib.rs:851
Function
test_message_timer
()
src/lib.rs:831
Function
test_no_clone
()
src/lib.rs:894
Function
test_schedule_with_delay
()
src/lib.rs:782
Function
test_too_much_work
()
src/lib.rs:912
Method
with_capacity
(cap: usize)
src/lib.rs:66