pub struct HttpServerSetup<Surface> { /* private fields */ }Expand description
States one executable HTTP surface together with the address at which it is served.
Implementations§
Source§impl<Surface> HttpServerSetup<Surface>
impl<Surface> HttpServerSetup<Surface>
Trait Implementations§
Auto Trait Implementations§
impl<Surface> Freeze for HttpServerSetup<Surface>where
Surface: Freeze,
impl<Surface> RefUnwindSafe for HttpServerSetup<Surface>where
Surface: RefUnwindSafe,
impl<Surface> Send for HttpServerSetup<Surface>where
Surface: Send,
impl<Surface> Sync for HttpServerSetup<Surface>where
Surface: Sync,
impl<Surface> Unpin for HttpServerSetup<Surface>where
Surface: Unpin,
impl<Surface> UnsafeUnpin for HttpServerSetup<Surface>where
Surface: UnsafeUnpin,
impl<Surface> UnwindSafe for HttpServerSetup<Surface>where
Surface: 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.