pub struct ActixStatusOutput<Inner, const CODE: u16>(/* private fields */);Expand description
Answers with the status an endpoint declared, around the body it already states.
Trait Implementations§
Source§impl<Inner, From, const CODE: u16> OutputAlg<From> for ActixStatusOutput<Inner, CODE>where
Inner: OutputAlg<From, Output = HttpResponse>,
impl<Inner, From, const CODE: u16> OutputAlg<From> for ActixStatusOutput<Inner, CODE>where
Inner: OutputAlg<From, Output = HttpResponse>,
Auto Trait Implementations§
impl<Inner, const CODE: u16> Freeze for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: Freeze,
impl<Inner, const CODE: u16> RefUnwindSafe for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: RefUnwindSafe,
impl<Inner, const CODE: u16> Send for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: Send,
impl<Inner, const CODE: u16> Sync for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: Sync,
impl<Inner, const CODE: u16> Unpin for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: Unpin,
impl<Inner, const CODE: u16> UnsafeUnpin for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: UnsafeUnpin,
impl<Inner, const CODE: u16> UnwindSafe for ActixStatusOutput<Inner, CODE>where
PhantomData<Inner>: UnwindSafe,
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.