pub trait TrashService:
Send
+ Sync
+ Debug {
// Required method
fn trash(&self, path: &Path) -> Result<(), OpsError>;
}Expand description
Where the destination of an operation lands in the trash.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".