Trait distant_core::Listener [−][src]
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