Function choices::warp::serve [−][src]
pub fn serve<F>(filter: F) -> Server<F> where
F: Filter + Clone + Send + Sync + 'static,
<F as FilterBase>::Extract: Reply,
<F as FilterBase>::Error: IsReject,
Create a Server
with the provided Filter
.