Struct ethcore_sync::Params
source · [−]pub struct Params {
pub config: SyncConfig,
pub chain: Arc<dyn BlockChainClient>,
pub forks: BTreeSet<BlockNumber>,
pub snapshot_service: Arc<dyn SnapshotService>,
pub network_config: NetworkConfiguration,
}
Expand description
EthSync initialization parameters.
Fields
config: SyncConfig
Configuration.
chain: Arc<dyn BlockChainClient>
Blockchain client.
forks: BTreeSet<BlockNumber>
Forks.
snapshot_service: Arc<dyn SnapshotService>
Snapshot service.
network_config: NetworkConfiguration
Network layer configuration.
Auto Trait Implementations
impl !RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl !UnwindSafe for Params
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more