pub struct BlockStriderBuilder<T, P, B> { /* private fields */ }Implementations§
Source§impl<T2, T3> BlockStriderBuilder<(), T2, T3>
impl<T2, T3> BlockStriderBuilder<(), T2, T3>
pub fn with_state<T: BlockStriderState>( self, state: T, ) -> BlockStriderBuilder<T, T2, T3>
Source§impl<T1, T3> BlockStriderBuilder<T1, (), T3>
impl<T1, T3> BlockStriderBuilder<T1, (), T3>
pub fn with_provider<P: BlockProvider>( self, provider: P, ) -> BlockStriderBuilder<T1, P, T3>
Source§impl<T1, T2> BlockStriderBuilder<T1, T2, ()>
impl<T1, T2> BlockStriderBuilder<T1, T2, ()>
pub fn with_block_subscriber<B>(
self,
subscriber: B,
) -> BlockStriderBuilder<T1, T2, B>where
B: BlockSubscriber,
Source§impl<T1, T2> BlockStriderBuilder<T1, T2, ()>
impl<T1, T2> BlockStriderBuilder<T1, T2, ()>
pub fn with_state_subscriber<S>(
self,
storage: CoreStorage,
state_subscriber: S,
) -> BlockStriderBuilder<T1, T2, ShardStateApplier<S>>where
S: StateSubscriber,
Source§impl<T, P, B> BlockStriderBuilder<T, P, B>
impl<T, P, B> BlockStriderBuilder<T, P, B>
pub fn build(self) -> BlockStrider<T, P, B>
Auto Trait Implementations§
impl<T, P, B> Freeze for BlockStriderBuilder<T, P, B>
impl<T, P, B> RefUnwindSafe for BlockStriderBuilder<T, P, B>
impl<T, P, B> Send for BlockStriderBuilder<T, P, B>
impl<T, P, B> Sync for BlockStriderBuilder<T, P, B>
impl<T, P, B> Unpin for BlockStriderBuilder<T, P, B>
impl<T, P, B> UnwindSafe for BlockStriderBuilder<T, P, B>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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