Trait git_repository::prelude::Header
source · pub trait Header {
type Error: 'static + Error;
fn try_header(
&self,
id: impl AsRef<oid>
) -> Result<Option<Header>, Self::Error>;
}
Expand description
A way to obtain object properties without fully decoding it.
Required Associated Types§
sourcetype Error: 'static + Error
type Error: 'static + Error
The error returned by try_header()
.