pub trait ToCount: Sealed {
    type Selection;
    fn to_count(&self) -> usize;
fn select<'async_trait>(
        self,
        stream: ReadStream
    ) -> Pin<Box<dyn Future<Output = Self::Selection> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Associated Types

Required methods

Implementations on Foreign Types

Implementors