fast_async_trait 0.1.1

Fast async traits for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(unboxed_closures, fn_traits)]

extern crate fast_async_trait_proc;
pub use fast_async_trait_proc::*;

#[doc(hidden)]
pub trait FnOnceHelper {
    type Args;
    type Output;

    extern "rust-call" fn call_once(self, args: Self::Args) -> Self::Output;
}