Home
last modified time | relevance | path

Searched refs:Rejection (Results 1 – 25 of 38) sorted by relevance

12

/aosp_15_r20/external/rust/android-crates-io/crates/axum-core/src/extract/
Dmod.rs51 type Rejection: IntoResponse; typedef
54 async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection>; in from_request_parts() argument
120 type Rejection: IntoResponse; typedef
123 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection>; in from_request() argument
133 type Rejection = <Self as FromRequestParts<S>>::Rejection; typedef
135 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
147 type Rejection = Infallible; typedef
152 ) -> Result<Option<T>, Self::Rejection> { in from_request_parts() argument
164 type Rejection = Infallible; typedef
166 async fn from_request(req: Request<B>, state: &S) -> Result<Option<T>, Self::Rejection> { in from_request() argument
[all …]
Drequest_parts.rs14 type Rejection = Infallible; typedef
16 async fn from_request(req: Request<B>, _: &S) -> Result<Self, Self::Rejection> { in from_request() argument
26 type Rejection = Infallible; typedef
28 async fn from_request_parts(parts: &mut Parts, _: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
38 type Rejection = Infallible; typedef
40 async fn from_request_parts(parts: &mut Parts, _: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
50 type Rejection = Infallible; typedef
52 async fn from_request_parts(parts: &mut Parts, _: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
67 type Rejection = Infallible; typedef
69 async fn from_request_parts(parts: &mut Parts, _: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
[all …]
Dtuple.rs12 type Rejection = Infallible; typedef
14 async fn from_request_parts(_: &mut Parts, _: &S) -> Result<(), Self::Rejection> { in from_request_parts() argument
31 type Rejection = Response;
33 … async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> {
58 type Rejection = Response;
60 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> {
/aosp_15_r20/external/rust/android-crates-io/crates/axum-core/src/ext_traits/
Drequest.rs71 fn extract<E, M>(self) -> BoxFuture<'static, Result<E, E::Rejection>> in extract()
130 fn extract_with_state<E, S, M>(self, state: &S) -> BoxFuture<'_, Result<E, E::Rejection>> in extract_with_state()
184 fn extract_parts<E>(&mut self) -> BoxFuture<'_, Result<E, E::Rejection>> in extract_parts()
255 ) -> BoxFuture<'a, Result<E, E::Rejection>> in extract_parts_with_state()
275 fn extract<E, M>(self) -> BoxFuture<'static, Result<E, E::Rejection>> in extract()
283 fn extract_with_state<E, S, M>(self, state: &S) -> BoxFuture<'_, Result<E, E::Rejection>> in extract_with_state()
291 fn extract_parts<E>(&mut self) -> BoxFuture<'_, Result<E, E::Rejection>> in extract_parts()
301 ) -> BoxFuture<'a, Result<E, E::Rejection>> in extract_parts_with_state()
426 type Rejection = <String as FromRequest<(), B>>::Rejection; typedef
428 async fn from_request(mut req: Request<B>, state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
Drequest_parts.rs58 fn extract<E>(&mut self) -> BoxFuture<'_, Result<E, E::Rejection>> in extract()
117 ) -> BoxFuture<'a, Result<E, E::Rejection>> in extract_with_state()
124 fn extract<E>(&mut self) -> BoxFuture<'_, Result<E, E::Rejection>> in extract()
134 ) -> BoxFuture<'a, Result<E, E::Rejection>> in extract_with_state()
191 type Rejection = Infallible; typedef
193 async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dmod.rs21 type Rejection = Infallible; typedef
26 ) -> Result<Self, Self::Rejection> { in from_request_parts() argument
41 type Rejection = Infallible; typedef
46 ) -> Result<Self, Self::Rejection> { in from_request_parts() argument
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/extract/
Drequest_parts.rs93 type Rejection = Infallible; typedef
95 async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
159 type Rejection = Infallible; typedef
161 async fn from_request(req: Request<B>, _state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
220 type Rejection = Infallible; typedef
222 async fn from_request(req: Request<B>, _state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
Draw_query.rs35 type Rejection = Infallible; typedef
37 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dstate.rs355 type Rejection = Infallible; typedef
360 ) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dconnect_info.rs137 type Rejection = <Extension<Self> as FromRequestParts<S>>::Rejection; typedef
139 async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Draw_form.rs45 type Rejection = RawFormRejection; typedef
47 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
Dquery.rs57 type Rejection = QueryRejection; typedef
59 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dhost.rs31 type Rejection = HostRejection; typedef
33 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dmultipart.rs69 type Rejection = MultipartRejection; typedef
71 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
Dmatched_path.rs112 type Rejection = MatchedPathRejection; typedef
114 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/docs/
Dextract.md309 1. Use `Result<T, T::Rejection>` as your extractor like shown in ["Optional
460 type Rejection = (StatusCode, &'static str);
462 async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> {
509 type Rejection = Response;
511 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> {
558 type Rejection = Infallible;
560 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> {
572 type Rejection = Infallible;
574 async fn from_request_parts(parts: &mut Parts, state: &S) -> Result<Self, Self::Rejection> {
624 type Rejection = Response;
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/middleware/
Dfrom_extractor.rs259 future: BoxFuture<'static, (Request<B>, Result<E, E::Rejection>)>,
326 type Rejection = StatusCode; in test_from_extractor() typedef
331 ) -> Result<Self, Self::Rejection> { in test_from_extractor() argument
378 type Rejection = std::convert::Infallible; in works_with_request_body_limit() typedef
383 ) -> Result<Self, Self::Rejection> { in works_with_request_body_limit() argument
/aosp_15_r20/external/federated-compute/fcp/client/
H A Dfederated_protocol.h113 struct Rejection {}; struct
130 std::variant<EligibilityEvalTask, EligibilityEvalDisabled, Rejection>;
187 using CheckinResult = std::variant<TaskAssignment, Rejection>;
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/extract/path/
Dmod.rs159 type Rejection = PathRejection; typedef
161 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
458 type Rejection = RawPathParamsRejection; typedef
460 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/
Dextension.rs81 type Rejection = ExtensionRejection; typedef
83 async fn from_request_parts(req: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dtyped_header.rs62 type Rejection = TypedHeaderRejection; typedef
64 async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result<Self, Self::Rejection> { in from_request_parts() argument
Dform.rs75 type Rejection = FormRejection; typedef
77 async fn from_request(req: Request<B>, _state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
Djson.rs111 type Rejection = JsonRejection; typedef
113 async fn from_request(req: Request<B>, state: &S) -> Result<Self, Self::Rejection> { in from_request() argument
/aosp_15_r20/external/rust/android-crates-io/crates/axum-core/
DCHANGELOG.md174 - `<HeaderMap as FromRequest<_>>::Rejection` has been changed to `std::convert::Infallible`.
185 - `<Request as FromRequest>::Rejection` is now `BodyAlreadyExtracted`.
186 - `<http::request::Parts as FromRequest>::Rejection` is now `Infallible`.
/aosp_15_r20/hardware/interfaces/wifi/supplicant/1.4/
H A DISupplicantStaIfaceCallback.hal90 * Association Rejection related information.
168 * @param assocRejectData Association Rejection related information.

12