1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Derive Clone for http requests structs

So they don't prevent a Service from implementing Clone.
This commit is contained in:
Kévin Commaille
2022-10-17 11:30:03 +02:00
committed by Quentin Gliech
parent 0829ab7e27
commit 99f2ca3d57
3 changed files with 4 additions and 3 deletions

View File

@ -45,6 +45,7 @@ impl<S, E> Error<S, E> {
}
}
#[derive(Clone)]
pub struct CatchHttpCodes<S, M> {
inner: S,
bounds: (Bound<StatusCode>, Bound<StatusCode>),