pub trait Header {
    type Error: Error + 'static;

    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§

The error returned by try_header().

Required Methods§

Try to read the header of the object associated with id or return None if it could not be found.

Implementations on Foreign Types§

Implementors§