Struct lumina_node::syncer::SyncerArgs
source · pub struct SyncerArgs<S>where
S: Store + 'static,{
pub genesis_hash: Option<Hash>,
pub p2p: Arc<P2p<S>>,
pub store: Arc<S>,
}Expand description
Arguments used to configure the Syncer.
Fields§
§genesis_hash: Option<Hash>Hash of the genesis block.
p2p: Arc<P2p<S>>Handler for the peer to peer messaging.
store: Arc<S>Headers storage.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for SyncerArgs<S>
impl<S> Send for SyncerArgs<S>
impl<S> Sync for SyncerArgs<S>
impl<S> Unpin for SyncerArgs<S>
impl<S> !UnwindSafe for SyncerArgs<S>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more