Skip to main content

serve

Function serve 

Source
pub fn serve<L: TryInto<Async<TcpListener>, Error = Error>, H: Into<Arc<Handler>>>(
    listener: L,
    handler: H,
) -> Result<(), SparsError>