Struct git_transport::client::capabilities::recv::Outcome
source · pub struct Outcome<'a> {
pub capabilities: Capabilities,
pub refs: Option<Box<dyn ReadlineBufRead + 'a>>,
pub protocol: Protocol,
}Available on crate feature
blocking-client only.Expand description
Success outcome of Capabilities::from_lines_with_version_detection.
Fields§
§capabilities: CapabilitiesThe Capabilities the remote advertised.
refs: Option<Box<dyn ReadlineBufRead + 'a>>The remote refs as a io::BufRead.
This is Some only when protocol v1 is used. The io::BufRead must be exhausted by
the caller.
protocol: ProtocolThe Protocol the remote advertised.