gix_object

Trait FindHeader

Source
pub trait FindHeader {
    // Required method
    fn try_header(&self, id: &oid) -> Result<Option<Header>, Error>;
}
Expand description

Find the header of an object in the object store.

Required Methods§

Source

fn try_header(&self, id: &oid) -> Result<Option<Header>, Error>

Find the header of the object matching id in the database.

Returns Some header if it was present, or the error that occurred during lookup.

Implementations on Foreign Types§

Source§

impl<T> Header for &T
where T: FindHeader,

Source§

impl<T> Header for Box<T>
where T: FindHeader,

Source§

impl<T> Header for Rc<T>
where T: FindHeader,

Source§

impl<T> Header for Arc<T>
where T: FindHeader,

Implementors§