pub enum Join {
Single,
All,
Detached,
}Expand description
How the parent waits for the dispatched task(s).
Variants§
Single
Wait for the (single) target’s terminal event. Result: scalar.
Validation: targets.len() == 1.
All
Wait for ALL listed targets to terminate. Result: Vec<Result>
in input order. Validation: targets.len() >= 1 (with len == 1
this is equivalent to Single but returns a Vec — use Single for
scalar). True fan-out join.
Detached
Fire-and-forget. Returns Vec<task_id> immediately. Subsequent
turns can use the supervisor tools (get_task / wait_task /
cancel_task) to manage the dispatched tasks. Replaces the old
CallMode::Offload.
Trait Implementations§
impl Copy for Join
Source§impl<'de> Deserialize<'de> for Join
impl<'de> Deserialize<'de> for Join
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Join
impl StructuralPartialEq for Join
Auto Trait Implementations§
impl Freeze for Join
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnsafeUnpin for Join
impl UnwindSafe for Join
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.