MCPcopy Create free account
hub / github.com/HFQR/xitca-web / from_request

Method from_request

web/src/handler/impls.rs:20–22  ·  view source on GitHub ↗
(ctx: &'a WebContext<'r, C, B>)

Source from the content-addressed store, hash-verified

18
19 #[inline]
20 async fn from_request(ctx: &'a WebContext<'r, C, B>) -> Result<Self, Self::Error> {
21 Ok(T::from_request(ctx).await)
22 }
23}
24
25impl<'a, 'r, C, B, T> FromRequest<'a, WebContext<'r, C, B>> for Option<T>

Callers

nothing calls this directly

Calls 5

reqMethod · 0.80
methodMethod · 0.80
cloneMethod · 0.45
bodyMethod · 0.45
socket_addrMethod · 0.45

Tested by

no test coverage detected