pub(super) trait Held: Send {
// Required methods
fn alive(&self) -> bool;
fn release(self: Box<Self>) -> Result<(), String>;
}Expand description
An inhibition held.
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 Held for Inhibition
Available on Unix and neither Android nor macOS only.
impl Held for Inhibition
Available on Unix and neither Android nor macOS only.