[][src]Enum gluon_vm::macros::LazyMacroResult

pub enum LazyMacroResult<'ast> {
    Done(SpannedExpr<'ast, Symbol>),
    Lazy(Box<dyn FnOnce() -> Pin<Box<dyn Future<Output = MacroResult<'ast>> + Send + 'ast>> + Send + 'ast>),
}

Variants

Done(SpannedExpr<'ast, Symbol>)
Lazy(Box<dyn FnOnce() -> Pin<Box<dyn Future<Output = MacroResult<'ast>> + Send + 'ast>> + Send + 'ast>)

Trait Implementations

impl<'ast, F> From<F> for LazyMacroResult<'ast> where
    F: FnOnce() -> Pin<Box<dyn Future<Output = MacroResult<'ast>> + Send + 'ast>> + Send + 'ast, 
[src]

impl<'ast> From<Spanned<Expr<'ast, Symbol>, ByteIndex>> for LazyMacroResult<'ast>[src]

Auto Trait Implementations

impl<'ast> !RefUnwindSafe for LazyMacroResult<'ast>

impl<'ast> Send for LazyMacroResult<'ast>

impl<'ast> !Sync for LazyMacroResult<'ast>

impl<'ast> Unpin for LazyMacroResult<'ast>

impl<'ast> !UnwindSafe for LazyMacroResult<'ast>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> From<T> for T[src]

impl<D, T> FromPtr<D> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.