pub struct ExprAwait {
pub attrs: Vec<Attribute>,
pub base: Box<Expr>,
pub dot_token: Dot,
pub await_token: Await,
}Expand description
An await expression: fut.await.
This type is available only if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute>base: Box<Expr>dot_token: Dotawait_token: AwaitTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExprAwait
impl UnwindSafe for ExprAwait
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more