Struct git_transport::client::capabilities::recv::Outcome [−][src]
pub struct Outcome<'a> {
pub capabilities: Capabilities,
pub refs: Option<Box<dyn BufRead + 'a>>,
pub protocol: Protocol,
}Expand description
Success outcome of Capabilities::from_lines_with_version_detection.
Fields
capabilities: CapabilitiesThe Capabilities the remote advertised.
refs: Option<Box<dyn BufRead + '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.