derive Clone for RouterService (#714)

This commit is contained in:
Conner Bryan
2021-07-11 15:37:07 +02:00
committed by GitHub
parent 4b0ece6d28
commit 0a06603659
+1 -1
View File
@@ -99,7 +99,7 @@ pub struct Router<A, B, L = Identity> {
/// This service implementation will route between multiple Tonic
/// gRPC endpoints and can be consumed with the rest of the `tower`
/// ecosystem.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct RouterService<S> {
inner: S,
}