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

Trait representing a transport endpoint.

Required methods

A cheaply clone-able handle to this endpoint.

Implementors