diff --git a/fusio-opendal/src/fs.rs b/fusio-opendal/src/fs.rs index 8f28b41..29a1492 100644 --- a/fusio-opendal/src/fs.rs +++ b/fusio-opendal/src/fs.rs @@ -64,16 +64,11 @@ impl Fs for OpendalFs { .map_err(parse_opendal_error) } - fn copy(&self, from: &Path, to: &Path) -> impl Future> + MaybeSend { + async fn copy(&self, from: &Path, to: &Path) -> Result<(), Error> { self.op.copy(from.as_ref(), to.as_ref()) } - fn link( - &self, - from: &Path, - to_fs: &F, - to: &Path, - ) -> impl Future> + MaybeSend { + async fn link(&self, from: &Path, to_fs: &F, to: &Path) -> Result<(), Error> { todo!() } }