增加Sync

This commit is contained in:
lbl8603
2024-07-01 23:03:52 +08:00
parent 1df5a1cfb1
commit d7266926d8
+1 -1
View File
@@ -1,7 +1,7 @@
use crate::channel::context::ChannelContext;
use crate::channel::RouteKey;
pub trait RecvChannelHandler: Clone + Send + 'static {
pub trait RecvChannelHandler: Clone + Send + Sync + 'static {
fn handle(
&self,
buf: &mut [u8],