Add missing send + sync bounds to network backend state (#46)
This commit is contained in:
parent
7ff63d4824
commit
4d43c18846
@ -8,7 +8,7 @@ pub mod waku;
|
||||
#[async_trait::async_trait]
|
||||
pub trait NetworkBackend {
|
||||
type Settings: Clone + Debug + Send + Sync + 'static;
|
||||
type State: ServiceState<Settings = Self::Settings> + Clone;
|
||||
type State: ServiceState<Settings = Self::Settings> + Clone + Send + Sync;
|
||||
type Message: Debug + Send + Sync + 'static;
|
||||
type EventKind: Debug + Send + Sync + 'static;
|
||||
type NetworkEvent: Debug + Send + Sync + 'static;
|
||||
|
Loading…
x
Reference in New Issue
Block a user