gix_odb

Trait Header

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

A way to obtain object properties without fully decoding it.

Required Methods§

Source

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

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

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Implementors§

Source§

impl<S> Header for Handle<S>
where S: Deref<Target = Store> + Clone,

Source§

impl<S> Header for Cache<S>
where S: Header,

Source§

impl<T> Header for Proxy<T>
where T: Header,