Trait git_transport::client::TransportV2Ext[][src]

pub trait TransportV2Ext {
    fn invoke<'a>(
        &mut self,
        command: &str,
        capabilities: impl Iterator<Item = (&'a str, Option<&'a str>)>,
        arguments: Option<impl Iterator<Item = BString>>
    ) -> Result<Box<dyn ExtendedBufRead + Unpin>, Error>; }
Expand description

An extension trait to add more methods to everything implementing Transport.

Required methods

Invoke a protocol V2 style command with given capabilities and optional command specific arguments. The capabilities were communicated during the handshake. Note: panics if handshake wasn’t performed beforehand.

Implementors