mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
node: Relax Service storage trait bound
This commit is contained in:
@@ -37,7 +37,7 @@ use crate::service::session::GossipState;
|
||||
use crate::service::tracking::Scope;
|
||||
use crate::storage;
|
||||
use crate::storage::{Namespaces, ReadStorage};
|
||||
use crate::storage::{ReadRepository, RefUpdate, WriteStorage};
|
||||
use crate::storage::{ReadRepository, RefUpdate};
|
||||
use crate::worker::FetchError;
|
||||
use crate::Link;
|
||||
|
||||
@@ -223,7 +223,7 @@ impl<R, A, S, G> Service<R, A, S, G>
|
||||
where
|
||||
R: routing::Store,
|
||||
A: address::Store,
|
||||
S: WriteStorage + 'static,
|
||||
S: ReadStorage + 'static,
|
||||
G: Signer,
|
||||
{
|
||||
pub fn new(
|
||||
|
||||
Reference in New Issue
Block a user