pub enum Handover {
NoRequest,
RequestOk,
RequestHeld(&'static str),
}Expand description
What is on the connection while one address is handed from a server to the next.
Variants§
NoRequest
Nothing.
RequestOk
A request asked and answered, timed as part of the round.
RequestHeld(&'static str)
A request the server is still producing an answer for, held off the clock.
Trait Implementations§
impl Copy for Handover
impl Eq for Handover
impl StructuralPartialEq for Handover
Auto Trait Implementations§
impl Freeze for Handover
impl RefUnwindSafe for Handover
impl Send for Handover
impl Sync for Handover
impl Unpin for Handover
impl UnsafeUnpin for Handover
impl UnwindSafe for Handover
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.
Source§impl<This> LifecycleApiExt<This> for This
impl<This> LifecycleApiExt<This> for This
Source§fn lifecycle_api<Alg>(&self) -> LifecycleApiProgram<Alg>
fn lifecycle_api<Alg>(&self) -> LifecycleApiProgram<Alg>
Declares one endpoint answering at once and one taking longer than any drain.
Source§impl<This> MultipartApiExt<This> for This
impl<This> MultipartApiExt<This> for This
Source§fn multipart_api<Alg>(&self) -> MultipartApiProgram<Alg>where
Alg: UploadAlg,
fn multipart_api<Alg>(&self) -> MultipartApiProgram<Alg>where
Alg: UploadAlg,
Declares one endpoint reading a body that arrives as parts.
Source§impl<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.
Source§impl<This> ShopApiExt<This> for This
impl<This> ShopApiExt<This> for This
Source§impl<This> StreamApiExt<This> for This
impl<This> StreamApiExt<This> for This
Source§fn stream_api<Alg>(&self) -> StreamApiProgram<Alg>where
Alg: TicksAlg,
fn stream_api<Alg>(&self) -> StreamApiProgram<Alg>where
Alg: TicksAlg,
Declares one endpoint answering with a body produced over time.