Update rust #263
+1
-1
@@ -120,7 +120,7 @@ mod tests {
|
|||||||
pub async fn resp_to_bytes(
|
pub async fn resp_to_bytes(
|
||||||
response: axum::response::Response,
|
response: axum::response::Response,
|
||||||
) -> Result<axum::body::Bytes, axum::Error> {
|
) -> Result<axum::body::Bytes, axum::Error> {
|
||||||
axum::body::to_bytes(response.into_body(), std::usize::MAX).await
|
axum::body::to_bytes(response.into_body(), usize::MAX).await
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get_resp_data<Data>(response: axum::response::Response) -> Data
|
pub async fn get_resp_data<Data>(response: axum::response::Response) -> Data
|
||||||
|
|||||||
Reference in new issue
Block a user