Trait Detach

Source
pub trait Detach<F: Future, I> {
    type Output;

    // Required method
    fn detach(self) -> (ReadyOrNot<F>, Self::Output);
}
Expand description

A trait that defines the operation of detaching a future of type F at index I.

Required Associated Types§

Source

type Output

The group that remains after detaching the future.

Required Methods§

Source

fn detach(self) -> (ReadyOrNot<F>, Self::Output)

Detaches the future at index I.

Implementors§

Source§

impl<F: Future, I, H: Future, T> Detach<F, S<I>> for At<H, T>
where T: Detach<F, I>,

Source§

type Output = At<H, <T as Detach<F, I>>::Output>

Source§

impl<F: Future, T> Detach<F, Z> for At<F, T>