pub struct Closing { /* private fields */ }Expand description
What is on the connection when a close begins, and how far the round waits for it.
Implementations§
Trait Implementations§
impl Copy for Closing
impl Eq for Closing
impl StructuralPartialEq for Closing
Auto Trait Implementations§
impl Freeze for Closing
impl RefUnwindSafe for Closing
impl Send for Closing
impl Sync for Closing
impl Unpin for Closing
impl UnsafeUnpin for Closing
impl UnwindSafe for Closing
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.