pub struct Http1Server<F, Fut>where
F: 'static + Send + Sync + Fn(Request, Response) -> Fut,
Fut: 'static + Send + Future<Output = Result<()>>,{ /* private fields */ }Implementations§
Auto Trait Implementations§
impl<F, Fut> Freeze for Http1Server<F, Fut>
impl<F, Fut> RefUnwindSafe for Http1Server<F, Fut>where
F: RefUnwindSafe,
impl<F, Fut> Send for Http1Server<F, Fut>
impl<F, Fut> Sync for Http1Server<F, Fut>
impl<F, Fut> Unpin for Http1Server<F, Fut>
impl<F, Fut> UnsafeUnpin for Http1Server<F, Fut>
impl<F, Fut> UnwindSafe for Http1Server<F, Fut>where
F: RefUnwindSafe,
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