Struct devise::syn::ExprAsync [−][src]
pub struct ExprAsync {
pub attrs: Vec<Attribute, Global>,
pub async_token: Async,
pub capture: Option<Move>,
pub block: Block,
}
Expand description
An async block: async { ... }
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute, Global>
async_token: Async
capture: Option<Move>
block: Block
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprAsync
impl UnwindSafe for ExprAsync
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