restore the extract function for server functions (#4849)
* restore the extract function for server functions * fix compilation * Move most fields under one shared lock * fix typo * fix clippy * restore somewhat misleading FromRequest bound * remove unused import * fix doc links
This commit is contained in:
1 parent
5786c9396f
commit
e656bace5c
8 files changed
+169
-52
No files matched your search
@@ -21,7 +21,7 @@ use serde::{de::DeserializeOwned, Serialize};
|
||||
/// *last* if there are multiple extractors in a handler.
|
||||
/// See ["the order of extractors"][order-of-extractors]
|
||||
///
|
||||
/// [order-of-extractors]: crate::extract#the-order-of-extractors
|
||||
/// [order-of-extractors]: mod@crate::extract#the-order-of-extractors
|
||||
#[must_use]
|
||||
pub struct Cbor<T>(pub T);
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ use axum::extract::multipart::{Field, MultipartError};
|
||||
/// `Multipart` extractor must be *last* if there are multiple extractors in a handler.
|
||||
/// See ["the order of extractors"][order-of-extractors]
|
||||
///
|
||||
/// [order-of-extractors]: crate::extract#the-order-of-extractors
|
||||
/// [order-of-extractors]: mod@crate::extract#the-order-of-extractors
|
||||
///
|
||||
/// # Large Files
|
||||
///
|
||||
|
||||
@@ -23,7 +23,7 @@ use std::future::Future;
|
||||
/// *last* if there are multiple extractors in a handler.
|
||||
/// See ["the order of extractors"][order-of-extractors]
|
||||
///
|
||||
/// [order-of-extractors]: crate::extract#the-order-of-extractors
|
||||
/// [order-of-extractors]: mod@crate::extract#the-order-of-extractors
|
||||
pub struct Postcard<T>(pub T);
|
||||
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
|
||||
Reference in new issue
Block a user