pub struct ExprAsync {
pub attrs: Vec<Attribute>,
pub async_token: Async,
pub capture: Option<Move>,
pub block: Block,
}Expand description
An async block: async { ... }.
Fields§
§attrs: Vec<Attribute>§async_token: Async§capture: Option<Move>§block: BlockTrait Implementations§
Auto Trait Implementations§
impl Freeze for ExprAsync
impl RefUnwindSafe for ExprAsync
impl !Send for ExprAsync
impl !Sync for ExprAsync
impl Unpin for ExprAsync
impl UnwindSafe for ExprAsync
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