Skip to main content

BackgroundExt

Trait BackgroundExt 

Source
pub trait BackgroundExt: Sized {
    // Provided method
    fn background(self, task: BackgroundTask) -> Background<Self> { ... }
}
Expand description

Ergonomic after-response task decoration.

Provided Methods§

Source

fn background(self, task: BackgroundTask) -> Background<Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> BackgroundExt for T