MCPcopy Create free account
hub / github.com/actix/examples / from_request

Method from_request

templating/fluent/src/lang_choice.rs:36–38  ·  view source on GitHub ↗
(req: &HttpRequest, _pl: &mut dev::Payload)

Source from the content-addressed store, hash-verified

34 type Future = Ready<Result<Self, Self::Error>>;
35
36 fn from_request(req: &HttpRequest, _pl: &mut dev::Payload) -> Self::Future {
37 ready(Ok(Self::from_req(req)))
38 }
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected