pub struct DirectEmptyOutput;Expand description
Renders a handler that returns nothing as an answer with no body.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirectEmptyOutput
impl RefUnwindSafe for DirectEmptyOutput
impl Send for DirectEmptyOutput
impl Sync for DirectEmptyOutput
impl Unpin for DirectEmptyOutput
impl UnsafeUnpin for DirectEmptyOutput
impl UnwindSafe for DirectEmptyOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<This> HttpProgramExt<This> for This
impl<This> HttpProgramExt<This> for This
Source§fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
Compiles a named HTTP program with this interpreter.