Function extract

Source
pub async fn extract<E: FromServerContext<I>, I>() -> Result<E, E::Rejection>
Available on crate feature server only.
Expand description

Extract some part from the current server request.

This function will only provide the current server context if it is called from a server function or on the server rendering a request.