pub trait Branches: Sealed {
type Output;
// Required methods
fn poll_all(&mut self, start: f64, cx: &mut Context<'_>) -> Option<f64>;
fn poll_any(
&mut self,
start: f64,
cx: &mut Context<'_>,
) -> Option<(usize, f64)>;
fn take(&mut self) -> Self::Output;
}Required Associated Types§
Required Methods§
Sourcefn poll_all(&mut self, start: f64, cx: &mut Context<'_>) -> Option<f64>
fn poll_all(&mut self, start: f64, cx: &mut Context<'_>) -> Option<f64>
Polls unfinished branches; returns the max end time once all are done.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".