Trait git_transport::client::TransportV2Ext [−][src]
An extension trait to add more methods to everything implementing Transport
.
Required methods
fn invoke<'a>(
&mut self,
command: &str,
capabilities: impl IntoIterator<Item = (&'a str, Option<&'a str>)>,
arguments: Option<impl IntoIterator<Item = BString>>
) -> Result<Box<dyn ExtendedBufRead>, Error>
[src]
&mut self,
command: &str,
capabilities: impl IntoIterator<Item = (&'a str, Option<&'a str>)>,
arguments: Option<impl IntoIterator<Item = BString>>
) -> Result<Box<dyn ExtendedBufRead>, Error>
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.