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,