Trait gix_object::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§