Trait distant_core::Listener
source · [−]pub trait Listener: Send + Sync {
type Output;
fn accept<'a>(&'a self) -> AcceptFuture<'a, Self::Output>
where
Self: Sync + 'a;
}Expand description
Represents a type that has a listen interface for receiving raw streams