Searched refs:callback (Results 1 – 2 of 2) sorted by relevance
11 callback: Box<dyn FnMut() -> Result<(), RuntimeError> + Send + Sync + 'static>, field23 callback: Box<dyn FnMut() -> Result<(), RuntimeError> + Send + Sync + 'static>, in new()29 callback: callback, in new()42 if let Err(_e) = (self.callback)() { in check()
41 pub fn push_timer<F>(duration: Duration, callback: F, parent: usize) in push_timer()49 .push(Timer::new(duration, Box::new(callback), parent)); in push_timer()