Qaz
07/11/2026, 8:36 AMmemory/backend.rs
rs
fn copy(
&self,
_: &OperationContext,
_: &str,
_: &str,
_: OpCopy,
_: OpCopier,
) -> Result<Self::Copier> {
Err(Error::new(
ErrorKind::Unsupported,
"operation is not supported",
))
}
async fn rename(
&self,
_: &OperationContext,
_: &str,
_: &str,
_: OpRename,
) -> Result<RpRename> {
Err(Error::new(
ErrorKind::Unsupported,
"operation is not supported",
))
}
The service's native capabilities also don't include rename or copy
rs
let capability = Capability {
read: true,
read_with_suffix: true,
write: true,
write_can_empty: true,
write_with_cache_control: true,
write_with_content_type: true,
write_with_content_disposition: true,
write_with_content_encoding: true,
write_with_if_not_exists: true,
delete: true,
stat: true,
list: true,
list_with_recursive: true,
shared: false,
..Default::default()
};
https://github.com/apache/opendal/issues/2483 "feature request: support copy and rename for memory services"
https://github.com/apache/opendal/pull/2513 "feat(adapters-kv): add rename and copy support to kv adapters"