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

pub trait TransportV2Ext {
    pub 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>; }

Required methods

pub 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]

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.

Loading content...

Implementors

impl<T: Transport> TransportV2Ext for T[src]

Loading content...