pub trait HostWithStore: HasData + Send {
// Required methods
fn wait_until<T>(
accessor: &Accessor<T, Self>,
when: Instant,
) -> impl Future<Output = Result<()>> + Send;
fn wait_for<T>(
accessor: &Accessor<T, Self>,
how_long: Duration,
) -> impl Future<Output = Result<()>> + Send;
}
Available on crate feature
p3
only.Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.