pub trait Header {
type Error: Error + 'static;
// Required method
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: Error + 'static
type Error: Error + 'static
The error returned by try_header()
.