fn response(self) -> Result<Response> {
        if self.values.len() > CAP {
            Response::error(
                format!("The number of values must be fewer than {}", CAP),
                400,
            )
        } else {
            let (values, steps) = self.run(());

            Response::from_json(&json!({ "values": values, "steps": steps }))
        }
    }
///
/// Run the service.
///
/// For `Sort`, this will not even bother to complete the request if the number of
/// elements supplied is greater than `CAP` so as to night have Cloudflare workes
/// timeout (and also to reduce the memory footprint).
///
Run the service.
For `Sort`, this will not even bother to complete the request if the number of
elements supplied is greater than `CAP` so as to night have Cloudflare workes
timeout (and also to reduce the memory footprint).
Run the service . For ` Sort ` this will not even bother to complete the request if the number of elements supplied is greater than ` CAP ` so as to night have Cloudflare workes timeout ( and also to reduce the memory footprint ) .
fn response(self) -> Result<Response> {
        if self.values.len() > CAP {
            Response::error(
                format!("The number of values must be fewer than {}", CAP),
                400,
            )
        } else {
            let (values, steps) = self.run(());
            Response::from_json(&json!({ "values": values, "steps": steps }))
        }
    }
fn response ( self ) -> Result < Response > { if self . values . len ( ) > CAP { Response :: error ( format ! ( " " CAP ) , 400 , ) } else { let ( values , steps ) = self . run ( ( ) ) ; Response :: from_json ( & json ! ( { " " values " " steps } ) ) } }
Run the service.
Run the service .
self