pub struct RunnerHandle {
pub id: String,
pub state: Arc<Mutex<RunnerState>>,
pub cancel: CancellationToken,
}Fields§
§id: String§state: Arc<Mutex<RunnerState>>§cancel: CancellationTokenTrait Implementations§
Source§impl Clone for RunnerHandle
impl Clone for RunnerHandle
Source§fn clone(&self) -> RunnerHandle
fn clone(&self) -> RunnerHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunnerHandle
impl RefUnwindSafe for RunnerHandle
impl Send for RunnerHandle
impl Sync for RunnerHandle
impl Unpin for RunnerHandle
impl UnsafeUnpin for RunnerHandle
impl UnwindSafe for RunnerHandle
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