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.