增加Sync
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user