Lines Matching refs:Runnable
45 pub fn spawn<F, S>(future: F, schedule: S) -> (Runnable, Task<F::Output>) in spawn() argument
49 S: Fn(Runnable) + Send + Sync + 'static, in spawn()
87 pub fn spawn_local<F, S>(future: F, schedule: S) -> (Runnable, Task<F::Output>) in spawn_local() argument
91 S: Fn(Runnable) + Send + Sync + 'static, in spawn_local()
174 pub unsafe fn spawn_unchecked<F, S>(future: F, schedule: S) -> (Runnable, Task<F::Output>) in spawn_unchecked() argument
177 S: Fn(Runnable), in spawn_unchecked() argument
187 let runnable = Runnable { ptr }; in spawn_unchecked()
233 pub struct Runnable { struct
238 unsafe impl Send for Runnable {} argument
239 unsafe impl Sync for Runnable {} implementation
242 impl std::panic::UnwindSafe for Runnable {} implementation
244 impl std::panic::RefUnwindSafe for Runnable {} implementation
246 impl Runnable { implementation
346 impl Drop for Runnable { implementation
389 impl fmt::Debug for Runnable { implementation