Home
last modified time | relevance | path

Searched refs:OptionFuture (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/futures-util/src/future/
Doption.rs28 pub struct OptionFuture<F> {
34 impl<F: Future> Future for OptionFuture<F> { implementation
48 impl<F: FusedFuture> FusedFuture for OptionFuture<F> { implementation
57 impl<T> From<Option<T>> for OptionFuture<T> { implementation
Dmod.rs66 pub use self::option::OptionFuture;
/external/rust/crates/futures/tests/
Dauto_traits.rs442 assert_impl!(OptionFuture<SendFuture>: Send);
443 assert_not_impl!(OptionFuture<LocalFuture>: Send);
444 assert_impl!(OptionFuture<SyncFuture>: Sync);
445 assert_not_impl!(OptionFuture<LocalFuture>: Sync);
446 assert_impl!(OptionFuture<UnpinFuture>: Unpin);
447 assert_not_impl!(OptionFuture<PinnedFuture>: Unpin);