ConnectionStream

Trait ConnectionStream 

Source
pub trait ConnectionStream {
    type Read: Read;
    type Write: Write + SignalEof;

    // Required method
    fn open(&mut self) -> (&mut Self::Read, &mut Self::Write);
}
Expand description

Open a reader and writer stream to pass to the ls-refs and fetch processes for communicating during their respective protocols.

Required Associated Types§

Required Methods§

Source

fn open(&mut self) -> (&mut Self::Read, &mut Self::Write)

Implementors§