pub struct SequencerBuilder {
pub seq_cfg: SequencerConfig,
pub rollup_cfg: Arc<RollupConfig>,
pub l1_provider: RootProvider,
pub l2_provider: RootProvider<Optimism>,
}Expand description
The builder for the SequencerActor.
Fields§
§seq_cfg: SequencerConfigThe SequencerConfig.
rollup_cfg: Arc<RollupConfig>The RollupConfig for the chain being sequenced.
l1_provider: RootProviderThe L1 provider.
l2_provider: RootProvider<Optimism>The L2 provider.
Trait Implementations§
Source§impl AttributesBuilderConfig for SequencerBuilder
impl AttributesBuilderConfig for SequencerBuilder
Source§type AB = StatefulAttributesBuilder<AlloyChainProvider, AlloyL2ChainProvider>
type AB = StatefulAttributesBuilder<AlloyChainProvider, AlloyL2ChainProvider>
The type of
AttributesBuilder to build.Source§fn build(self) -> Self::AB
fn build(self) -> Self::AB
Builds the
AttributesBuilder.Auto Trait Implementations§
impl Freeze for SequencerBuilder
impl !RefUnwindSafe for SequencerBuilder
impl Send for SequencerBuilder
impl Sync for SequencerBuilder
impl Unpin for SequencerBuilder
impl !UnwindSafe for SequencerBuilder
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