Skip to main content

RequestUri

Type Alias RequestUri 

Source
pub type RequestUri = Uri;
Expand description

请求 URI 提取器

获取当前请求的完整 URI。

Aliased Type§

pub struct RequestUri { /* private fields */ }

Trait Implementations§

Source§

impl<S> FromRequestParts<S> for RequestUri

Source§

type Error = ExtractorError

提取过程中可能发生的错误
Source§

fn from_request_parts( parts: &RequestParts, _state: &S, ) -> Result<Self, Self::Error>

从请求中提取数据 Read more