diff --git a/tower/src/buffer/layer.rs b/tower/src/buffer/layer.rs index 5bddc924..f20631e3 100644 --- a/tower/src/buffer/layer.rs +++ b/tower/src/buffer/layer.rs @@ -58,3 +58,14 @@ impl fmt::Debug for BufferLayer { .finish() } } + +impl Clone for BufferLayer { + fn clone(&self) -> Self { + Self { + bound: self.bound, + _p: self._p, + } + } +} + +impl Copy for BufferLayer {}