pub enum TimedCommand {
Finished(Output),
TimedOut {
pid: u32,
},
Spawn(Error),
}Expand description
Result of run_with_timeout.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TimedCommand
impl !UnwindSafe for TimedCommand
impl Freeze for TimedCommand
impl Send for TimedCommand
impl Sync for TimedCommand
impl Unpin for TimedCommand
impl UnsafeUnpin for TimedCommand
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