pub fn contains(&self, oid: &ObjectId) -> Result<bool, PlasmaError> {
        let mut has_object = false;
        let status = plasma::contains(
            self.client_ptr.as_ref().unwrap(),
            oid.inner(),
            &mut has_object,
        );
        match status.code {
            plasma::StatusCode::OK => Ok(has_object),
            _ => Err(PlasmaError::UnknownError(status.msg)),
        }
    }
/// Checks if the object store contains a particular object and the object has been sealed.
Checks if the object store contains a particular object and the object has been sealed.
Checks if the object store contains a particular object and the object has been sealed .
pub fn contains(&self, oid: &ObjectId) -> Result<bool, PlasmaError> {
        let mut has_object = false;
        let status = plasma::contains(
            self.client_ptr.as_ref().unwrap(),
            oid.inner(),
            &mut has_object,
        );
        match status.code {
            plasma::StatusCode::OK => Ok(has_object),
            _ => Err(PlasmaError::UnknownError(status.msg)),
        }
    }
pub fn contains ( & self , oid : & ObjectId ) -> Result < bool , PlasmaError > { let mut has_object = false ; let status = plasma :: contains ( self . client_ptr . as_ref ( ) . unwrap ( ) , oid . inner ( ) , & mut has_object , ) ; match status . code { plasma :: StatusCode :: OK => Ok ( has_object ) , _ => Err ( PlasmaError :: UnknownError ( status . msg ) ) , } }
Checks if the object store contains a particular object and the object has been sealed.
Checks if the object store contains a particular object and the object has been sealed .
&self
oid
&ObjectId
&self
oid
&ObjectId