pub struct JoinExpr {
pub kind: JoinKind,
pub branches: Vec<JoinBranch>,
pub span: Span,
}Expand description
Join expression: join all|race|any|settle { branch, ... }
Fields§
§kind: JoinKindThe join strategy
branches: Vec<JoinBranch>The branches to execute concurrently
span: SpanSpan covering the entire join expression
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JoinExpr
impl<'de> Deserialize<'de> for JoinExpr
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 StructuralPartialEq for JoinExpr
Auto Trait Implementations§
impl Freeze for JoinExpr
impl RefUnwindSafe for JoinExpr
impl Send for JoinExpr
impl Sync for JoinExpr
impl Unpin for JoinExpr
impl UnsafeUnpin for JoinExpr
impl UnwindSafe for JoinExpr
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