pub(crate) struct Running<T> {
pub(crate) targets: T,
pub(crate) events: Sender<Event>,
pub(crate) held: bool,
pub(crate) worker: Option<JoinHandle<Result<(), Abandoned>>>,
}Fields§
§targets: T§events: Sender<Event>Where the app’s commands for it go.
held: boolWhether the app still holds it. One whose item is gone is cancelled, and its last reports go nowhere.
worker: Option<JoinHandle<Result<(), Abandoned>>>Joined once its last report arrives; None when a test is already waiting on it.
Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Running<T>
impl<T> !UnwindSafe for Running<T>
impl<T> Freeze for Running<T>where
T: Freeze,
impl<T> Send for Running<T>where
T: Send,
impl<T> Sync for Running<T>where
T: Sync,
impl<T> Unpin for Running<T>where
T: Unpin,
impl<T> UnsafeUnpin for Running<T>where
T: UnsafeUnpin,
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