pub trait Fetcher {
// Required method
fn fetch(&self, remote: &str, refspecs: &[&str]) -> Result<(), EngineError>;
}Expand description
Bringing a request’s commits into this clone (ADR 0029, decision 4 as reversed by the author).
The one port that reaches the network, and the one git command here that
is porcelain rather than plumbing: git fetch has no plumbing form worth
the name, and a reviewer who typed a request number should not be told to
go and type a fetch as well. Kept apart from every other port so a bound
list still says which function may go online.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".