chore: add convenience trait bounds (#5131)

This commit is contained in:
Matthias Seitz
2023-10-22 18:32:05 +02:00
committed by GitHub
parent 82bffbfd19
commit 0088ba4553

View File

@ -41,7 +41,7 @@ impl<T> FullProvider for T where
} }
/// The trait that is implemented for the Node command. /// The trait that is implemented for the Node command.
pub trait RethNodeComponents { pub trait RethNodeComponents: Clone + Send + Sync + 'static {
/// The Provider type that is provided by the not itself /// The Provider type that is provided by the not itself
type Provider: FullProvider; type Provider: FullProvider;
/// The transaction pool type /// The transaction pool type