Trait exocore_transport::transport::TransportServiceHandle [−][src]
pub trait TransportServiceHandle: Future<Output = ()> + Send + Unpin + 'static { type Sink: Sink<OutEvent, Error = Error> + Send + Unpin + 'static; type Stream: Stream<Item = InEvent> + Send + Unpin + 'static; fn on_started(&self) -> TransportHandleOnStart; fn get_sink(&mut self) -> Self::Sink; fn get_stream(&mut self) -> Self::Stream; }
Expand description
Handle to a transport to be used by a service of a cell.