pub struct CommandRunner { /* private fields */ }Expand description
Runs a command every interval on its own thread. Dropping it stops the thread after the current run (without waiting for it).
Implementations§
Trait Implementations§
Source§impl Drop for CommandRunner
impl Drop for CommandRunner
Auto Trait Implementations§
impl Freeze for CommandRunner
impl RefUnwindSafe for CommandRunner
impl Send for CommandRunner
impl Sync for CommandRunner
impl Unpin for CommandRunner
impl UnsafeUnpin for CommandRunner
impl UnwindSafe for CommandRunner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more