Enum futures::future::Loop [] [src]

pub enum Loop<T, S> {

An enum describing whether to break or continue a loop_fn loop.


Indicates that the loop has completed with output T.

Indicates that the loop function should be called again with input state S.

Trait Implementations

impl<T, S> Debug for Loop<T, S> where
    S: Debug,
    T: Debug


Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T, S> Send for Loop<T, S> where
    S: Send,
    T: Send

impl<T, S> Sync for Loop<T, S> where
    S: Sync,
    T: Sync