Skip to main content

Abandon

Trait Abandon 

Source
pub trait Abandon {
    // Required method
    fn abandoned(&self) -> Pin<Box<dyn Future<Output = bool> + '_>>;
}
Expand description

Whether a render’s caller let it go, asked between blocks.

Required Methods§

Source

fn abandoned(&self) -> Pin<Box<dyn Future<Output = bool> + '_>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§