Expand description
Trash backend trait and types.
Abstracts trash operations behind a trait so the implementation can be swapped (system trash, WASI, pure-Rust disk trash, etc.) without changing builtins.
Structs§
- Trash
Entry - A trashed item, independent of backend.
- TrashId
- Opaque trash item identifier.
Enums§
- Trash
Error - Errors from trash operations.
Traits§
- Trash
Backend - Backend trait for trash operations.
Functions§
- find_
restore_ match - Find restore matches: exact (1) wins, else substring.