pub struct HttpWarpServer { /* private fields */ }Trait Implementations§
Source§impl CSTraitServer for HttpWarpServer
impl CSTraitServer for HttpWarpServer
fn start<S: Clone + Send + Sync + 'static, Request: for<'a> Deserialize<'a> + Send + 'static, Response: Serialize + Send + 'static, Fut: Future<Output = Option<Response>> + Send + 'static, F: Fn(S, Request) -> Fut + Send + Sync + Clone + 'static>( self, shared: S, on_request: F, exit: Receiver<()>, ) -> (SocketAddr, Pin<Box<dyn Future<Output = ()> + Send>>)
Auto Trait Implementations§
impl Freeze for HttpWarpServer
impl RefUnwindSafe for HttpWarpServer
impl Send for HttpWarpServer
impl Sync for HttpWarpServer
impl Unpin for HttpWarpServer
impl UnwindSafe for HttpWarpServer
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