#[allow(unused_imports)]
use announce::announce;
#[announce(mock = ::core::future::Future)]
pub trait Future {
type Output;
fn poll(
self: ::core::pin::Pin<&mut Self>,
cx: &mut ::core::task::Context<'_>,
) -> ::core::task::Poll<Self::Output>;
}
#[doc(no_inline)]
pub use ::core::future::Future;
#[cfg(announce_std_rust_1_64)]
#[announce(mock = ::core::future::IntoFuture)]
pub trait IntoFuture {
type Output;
type IntoFuture: ::core::future::Future<Output = Self::Output>;
fn into_future(self) -> Self::IntoFuture;
}
#[cfg(announce_std_rust_1_64)]
#[doc(no_inline)]
pub use ::core::future::IntoFuture;