Trait common::network::Listener[−][src]

pub trait Listener {
    fn accept_clients<'life0, 'async_trait>(
        &'life0 mut self,
        new_clients: Sender<Stream>
    ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors