Enum futures::future::Loop [−][src]
pub enum Loop<T, S> {
Break(T),
Continue(S),
}Expand description
The status of a loop_fn loop.
Variants
Indicates that the loop has completed with output T.
Indicates that the loop function should be called again with input
state S.
Trait Implementations
Auto Trait Implementations
impl<T, S> RefUnwindSafe for Loop<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe, impl<T, S> UnwindSafe for Loop<T, S> where
S: UnwindSafe,
T: UnwindSafe,