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

Trait representing a transport endpoint.

Required Methods§

source

fn handle(&self) -> &EpHnd

A cheaply clone-able handle to this endpoint.

Implementors§