Trait protocol::wire::stream::Transport [] [src]

pub trait Transport {
    fn process_data(&mut self, read: &mut Read) -> Result<(), Error>;
fn receive_raw_packet(&mut self) -> Result<Option<Vec<u8>>, Error>;
fn send_raw_packet(
        &mut self,
        write: &mut Write,
        packet: &[u8]
    ) -> Result<(), Error>; }

Required Methods

Implementors