[][src]Trait tokio_hglib::Connection

pub trait Connection {
    type Rx: Stream<Item = Result<ChannelMessage>> + Unpin;
    type Tx: Sink<BlockMessage, Error = Error> + Unpin;
    pub fn get_rx_mut(&mut self) -> &mut Self::Rx;
pub fn get_tx_mut(&mut self) -> &mut Self::Tx; }

Leaky abstraction to hold connection to a command server.

Associated Types

Loading content...

Required methods

pub fn get_rx_mut(&mut self) -> &mut Self::Rx[src]

pub fn get_tx_mut(&mut self) -> &mut Self::Tx[src]

Loading content...

Implementors

Loading content...