gix_object

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