pub async fn delete(&self, location: &str) -> Result<()> {
        use ObjectStoreIntegration::*;
        match &self.0 {
            AmazonS3(s3) => s3.delete(location).await?,
            GoogleCloudStorage(gcs) => gcs.delete(location).await?,
            InMemory(in_mem) => in_mem.delete(location).await?,
            File(file) => file.delete(location).await?,
        }

        Ok(())
    }
/// Delete the object at the specified location.
Delete the object at the specified location.
Delete the object at the specified location .
pub async fn delete(&self, location: &str) -> Result<()> {
        use ObjectStoreIntegration::*;
        match &self.0 {
            AmazonS3(s3) => s3.delete(location).await?,
            GoogleCloudStorage(gcs) => gcs.delete(location).await?,
            InMemory(in_mem) => in_mem.delete(location).await?,
            File(file) => file.delete(location).await?,
        }
        Ok(())
    }
pub async fn delete ( & self , location : & str ) -> Result < ( ) > { use ObjectStoreIntegration :: * ; match & self . 0 { AmazonS3 ( s3 ) => s3 . delete ( location ) . await ? , GoogleCloudStorage ( gcs ) => gcs . delete ( location ) . await ? , InMemory ( in_mem ) => in_mem . delete ( location ) . await ? , File ( file ) => file . delete ( location ) . await ? , } Ok ( ( ) ) }
Delete the object at the specified location.
Delete the object at the specified location .
&self
location
&str