try make more like before
This commit is contained in:
parent
2305c2cf03
commit
bf0e82047f
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ pub trait EndpointHandler<M>: Send + Sync
|
||||||
where
|
where
|
||||||
M: Message,
|
M: Message,
|
||||||
{
|
{
|
||||||
async fn handle(self: &Arc<Self>, m: &M, from: NodeID) -> <M as Message>::Response;
|
async fn handle(self: &Arc<Self>, m: &M, from: NodeID) -> M::Response;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
|
|
Loading…
Reference in a new issue