pub trait Permutable<T> {
    fn permutations<'async_trait>(
        self,
        k: usize
    ) -> Pin<Box<dyn Future<Output = Iter<Permutations<IntoIter<T>>>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Required Methods§

Implementors§

This is a glue trait to allow streams to use Permutable in itertools. The current implementation eagerly consumes the parent stream.