MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / handle_get

Function handle_get

src/prof-http/src/lib.rs:177–188  ·  view source on GitHub ↗
(
        _: Query<ProfQuery>,
        _: HeaderMap,
        build_info: &'static BuildInfo,
    )

Source from the content-addressed store, hash-verified

175
176 #[allow(clippy::unused_async)]
177 pub async fn handle_get(
178 _: Query<ProfQuery>,
179 _: HeaderMap,
180 build_info: &'static BuildInfo,
181 ) -> impl IntoResponse {
182 mz_http_util::template_response(ProfTemplate {
183 version: build_info.version,
184 executable: &super::EXECUTABLE,
185 mem_prof: MemProfilingStatus::Disabled,
186 ever_symbolized: ever_symbolized(),
187 })
188 }
189
190 #[derive(Deserialize)]
191 pub struct ProfForm {

Callers 1

routerFunction · 0.85

Calls 11

template_responseFunction · 0.85
ever_symbolizedFunction · 0.85
render_templateFunction · 0.85
unwrapMethod · 0.80
lockMethod · 0.80
as_refMethod · 0.45
getMethod · 0.45
as_bytesMethod · 0.45
dump_statsMethod · 0.45
to_stringMethod · 0.45
into_responseMethod · 0.45

Tested by

no test coverage detected