Skip to main content

Hold

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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Hold for ()

Implementors§