pub trait Listener: Send + Sync {
    type Output;

    fn accept<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Represents a type that has a listen interface for receiving raw streams

Required Associated Types

Required Methods

Implementors