pub trait Poll {
type Context;
type Error: Copy + Eq;
// Required method
unsafe fn wait<'a, Tag>(
&'a mut self,
quota: Shared<'_, Tag>,
timeout: Option<Duration>,
busy: bool,
) -> Result<(), Self::Error>
where Self::Context: 'a;
}Expand description
Commits and waits while the host retains the registered operation owners.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".