1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! Await
//!
//! This module contains a number of functions and combinators for working
//! with `async`/`await` code.

use core::marker::Unpin;
use futures_core::future::Future;

#[macro_use]
mod poll;
pub use self::poll::*;

#[macro_use]
mod pending;
pub use self::pending::*;

// Primary export is a macro
#[macro_use]
mod join;

// Primary export is a macro
#[macro_use]
mod select;

// Primary export is a macro
#[macro_use]
mod spawn;

#[doc(hidden)]
#[inline(always)]
pub fn assert_unpin<T: Future + Unpin>(_: &T) {}