Trait gix_object::Exists

source ·
pub trait Exists {
    // Required method
    fn exists(&self, id: &oid) -> bool;
}
Expand description

Check if an object is present in an object store.

Required Methods§

source

fn exists(&self, id: &oid) -> bool

Returns true if the object exists in the database.

Implementations on Foreign Types§

source§

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

source§

fn exists(&self, id: &oid) -> bool

source§

impl<T> Exists for Box<T>
where T: Exists,

source§

fn exists(&self, id: &oid) -> bool

source§

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

source§

fn exists(&self, id: &oid) -> bool

source§

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

source§

fn exists(&self, id: &oid) -> bool

Implementors§