pub trait GitRefs {
type Error: StdError + Send + Sync + 'static;
// Required method
fn reference(
&self,
repository: &Path,
name: &str,
) -> Result<Option<String>, Self::Error>;
}Expand description
Reference lookup.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".