Trait StorageClient
Source pub trait StorageClient: Send + Sync {
// Required methods
fn list(&self, prefix_or_path: &str) -> FloeResult<Vec<ObjectRef>>;
fn download_to_temp(
&self,
uri: &str,
temp_dir: &Path,
) -> FloeResult<PathBuf>;
fn upload_from_path(&self, local_path: &Path, uri: &str) -> FloeResult<()>;
fn resolve_uri(&self, path: &str) -> FloeResult<String>;
fn copy_object(&self, src_uri: &str, dst_uri: &str) -> FloeResult<()>;
fn delete_object(&self, uri: &str) -> FloeResult<()>;
fn exists(&self, uri: &str) -> FloeResult<bool>;
}