pub struct SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS> { /* private fields */ }
Expand description
Subspace slot worker responsible for block and vote production
Implementations§
Source§impl<PosTable, Block, BB, BI, BCI, CI, CSS> SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>where
PosTable: Table,
Block: GenericOwnedBlock,
BB: BlockBuilder<Block>,
BI: BlockImport<Block>,
BCI: ChainInfo<OwnedBeaconChainBlock>,
CI: ChainInfo<Block>,
CSS: ChainSyncStatus,
impl<PosTable, Block, BB, BI, BCI, CI, CSS> SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>where
PosTable: Table,
Block: GenericOwnedBlock,
BB: BlockBuilder<Block>,
BI: BlockImport<Block>,
BCI: ChainInfo<OwnedBeaconChainBlock>,
CI: ChainInfo<Block>,
CSS: ChainSyncStatus,
Sourcepub fn new(_: SubspaceSlotWorkerOptions<BB, BI, BCI, CI, CSS>) -> Self
pub fn new(_: SubspaceSlotWorkerOptions<BB, BI, BCI, CI, CSS>) -> Self
Create new Subspace slot worker
Trait Implementations§
Auto Trait Implementations§
impl<PosTable, Block, BB, BI, BCI, CI, CSS> Freeze for SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>
impl<PosTable, Block, BB, BI, BCI, CI, CSS> !RefUnwindSafe for SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>
impl<PosTable, Block, BB, BI, BCI, CI, CSS> Send for SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>
impl<PosTable, Block, BB, BI, BCI, CI, CSS> Sync for SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>
impl<PosTable, Block, BB, BI, BCI, CI, CSS> Unpin for SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>
impl<PosTable, Block, BB, BI, BCI, CI, CSS> !UnwindSafe for SubspaceSlotWorker<PosTable, Block, BB, BI, BCI, CI, CSS>
Blanket Implementations§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more