/// Deletes an object from the object store. This currently assumes that the
/// object is present, has been sealed and not used by another client. Otherwise,
/// it is a no operation.
Deletes an object from the object store. This currently assumes that the
object is present, has been sealed and not used by another client. Otherwise,
it is a no operation.
Deletes an object from the object store . This currently assumes that the object is present has been sealed and not used by another client . Otherwise it is a no operation .
pub fn delete(&self, oid: &ObjectId) -> Result<(), PlasmaError> {
        let status = plasma::delete(self.client_ptr.as_ref().unwrap(), oid.inner());
        match status.code {
            plasma::StatusCode::OK => Ok(()),
            _ => Err(PlasmaError::UnknownError(status.msg)),
        }
    }
pub fn delete ( & self , oid : & ObjectId ) -> Result < ( ) , PlasmaError > { let status = plasma :: delete ( self . client_ptr . as_ref ( ) . unwrap ( ) , oid . inner ( ) ) ; match status . code { plasma :: StatusCode :: OK => Ok ( ( ) ) , _ => Err ( PlasmaError :: UnknownError ( status . msg ) ) , } }
Deletes an object from the object store.
Deletes an object from the object store .
&self
oid
&ObjectId