Add missing send + sync bounds to network backend state (#46)

This commit is contained in:
Daniel Sanchez 2023-01-12 11:33:57 +01:00 committed by GitHub
parent 7ff63d4824
commit 4d43c18846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;