pub struct RuntimeHandle {
pub input_tx: Sender<ReducerInput>,
pub reducer_handle: JoinHandle<()>,
pub worker_handles: Vec<JoinHandle<()>>,
}Expand description
Handle returned by spawn.
Fields§
§input_tx: Sender<ReducerInput>§reducer_handle: JoinHandle<()>§worker_handles: Vec<JoinHandle<()>>Implementations§
Source§impl RuntimeHandle
impl RuntimeHandle
pub fn into_join_handles(self) -> Vec<JoinHandle<()>>
Auto Trait Implementations§
impl Freeze for RuntimeHandle
impl RefUnwindSafe for RuntimeHandle
impl Send for RuntimeHandle
impl Sync for RuntimeHandle
impl Unpin for RuntimeHandle
impl UnwindSafe for RuntimeHandle
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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