pub trait Hold {
// Required method
fn still_held(&self) -> Result<(), String>;
}Expand description
What the caller holds across the removal (an agent’s lease): the removal asks before each file whether it is still held, and stops when it is not.
Required Methods§
fn still_held(&self) -> Result<(), String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".