pub struct DerivationBuilder {
pub l1_provider: RootProvider,
pub l1_beacon: OnlineBeaconClient,
pub l2_provider: RootProvider<Optimism>,
pub rollup_config: Arc<RollupConfig>,
pub interop_mode: InteropMode,
}Expand description
The configuration necessary to build the derivation actor.
Fields§
§l1_provider: RootProviderThe L1 provider.
l1_beacon: OnlineBeaconClientThe L1 beacon client.
l2_provider: RootProvider<Optimism>The L2 provider.
rollup_config: Arc<RollupConfig>The rollup config.
interop_mode: InteropModeThe interop mode.
Trait Implementations§
Source§impl Debug for DerivationBuilder
impl Debug for DerivationBuilder
Source§impl PipelineBuilder for DerivationBuilder
impl PipelineBuilder for DerivationBuilder
Source§type Pipeline = OnlinePipeline
type Pipeline = OnlinePipeline
The type of pipeline to build.
Source§fn build<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = DerivationState<OnlinePipeline>> + Send + 'async_trait>>where
Self: 'async_trait,
fn build<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = DerivationState<OnlinePipeline>> + Send + 'async_trait>>where
Self: 'async_trait,
Builds the derivation pipeline.
Auto Trait Implementations§
impl Freeze for DerivationBuilder
impl !RefUnwindSafe for DerivationBuilder
impl Send for DerivationBuilder
impl Sync for DerivationBuilder
impl Unpin for DerivationBuilder
impl !UnwindSafe for DerivationBuilder
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