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

Trait representing a transport endpoint.

Required Methods§

source

fn handle(&self) -> &Arc<dyn AsEpHnd>

A cheaply clone-able handle to this endpoint.

Implementors§