pub trait AsEp: 'static + Send + Unpin + Stream<Item = EpEvent> {
    fn handle(&self) -> &Arc<dyn AsEpHnd + 'static>;
}
Expand description

Trait representing a transport endpoint.

Required Methods§

A cheaply clone-able handle to this endpoint.

Implementors§