diff --git a/openraft/src/type_config/async_runtime/watch/mod.rs b/openraft/src/type_config/async_runtime/watch/mod.rs index 84ee0b91a..65f0e7f15 100644 --- a/openraft/src/type_config/async_runtime/watch/mod.rs +++ b/openraft/src/type_config/async_runtime/watch/mod.rs @@ -16,7 +16,7 @@ pub trait Watch: Sized + OptionalSend { fn channel(init: T) -> (Self::Sender, Self::Receiver); } -pub trait WatchSender: OptionalSend + Clone +pub trait WatchSender: OptionalSend where W: Watch, T: OptionalSend + OptionalSync,