pub trait FfiFuture {
fn dyn_poll(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> PollFuture;
}
Available on crate features
dyn-traits
and futures
only.Expand description
Models a Future
resolving to ()
.
pub trait FfiFuture {
fn dyn_poll(self: Pin<&mut Self>, ctx: &mut Context<'_>) -> PollFuture;
}
dyn-traits
and futures
only.Models a Future
resolving to ()
.