Enum syntax::ast::IsAsync[][src]

pub enum IsAsync {
    Async {
        closure_id: NodeId,
        return_impl_trait_id: NodeId,
    },
    NotAsync,
}

Variants

Fields of Async

Methods

impl IsAsync
[src]

In case this is an Async return the NodeId for the generated impl Trait item

Trait Implementations

impl Copy for IsAsync
[src]

impl Clone for IsAsync
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for IsAsync
[src]

impl Decodable for IsAsync
[src]

impl Debug for IsAsync
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for IsAsync

impl Sync for IsAsync