pub struct TextEmptyOutput;Expand description
Interprets empty output selection in text descriptions.
An endpoint stating no body converts a handler that returns nothing, so this reads () and
nothing else. That is the partiality the description witnesses on every interpreter’s behalf.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextEmptyOutput
impl RefUnwindSafe for TextEmptyOutput
impl Send for TextEmptyOutput
impl Sync for TextEmptyOutput
impl Unpin for TextEmptyOutput
impl UnsafeUnpin for TextEmptyOutput
impl UnwindSafe for TextEmptyOutput
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.