Skip to main content

TaskBuild

Trait TaskBuild 

Source
pub trait TaskBuild<'d>: Build<'d, Output = Built<'d, Self::Task>> {
    type Task;

    // Required method
    fn reject(error: Self::StepError) -> Reject;
}
Expand description

Fiber-free, cooperatively stepped construction of an owned request.

Required Associated Types§

Required Methods§

Source

fn reject(error: Self::StepError) -> Reject

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§