pub trait BackgroundExt: Sized {
// Provided method
fn background(self, task: BackgroundTask) -> Background<Self> { ... }
}Expand description
Ergonomic after-response task decoration.
Provided Methods§
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".