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: Capabilities
The 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: Protocol
The Protocol
the remote advertised.