diff --git a/overwatch-rs/src/services/relay.rs b/overwatch-rs/src/services/relay.rs index f250472..19e7ab9 100644 --- a/overwatch-rs/src/services/relay.rs +++ b/overwatch-rs/src/services/relay.rs @@ -71,6 +71,17 @@ pub struct Relay { _bound: PhantomBound, } +impl Clone for Relay { + fn clone(&self) -> Self { + Self { + overwatch_handle: self.overwatch_handle.clone(), + _bound: PhantomBound { + _inner: PhantomData, + }, + } + } +} + // Like PhantomData but without // ownership of T #[derive(Debug)]