pub struct EngineBuilder {
pub config: Arc<RollupConfig>,
pub engine_url: Url,
pub l1_rpc_url: Url,
pub jwt_secret: JwtSecret,
pub mode: NodeMode,
}Expand description
Configuration for the Engine Actor.
Fields§
§config: Arc<RollupConfig>The RollupConfig.
engine_url: UrlThe engine rpc url.
l1_rpc_url: UrlThe L1 rpc url.
jwt_secret: JwtSecretThe engine jwt secret.
mode: NodeModeThe mode of operation for the node. When the node is in sequencer mode, the engine actor will receive requests to build blocks from the sequencer actor.
Implementations§
Source§impl EngineBuilder
impl EngineBuilder
Sourcepub fn client(&self) -> Arc<EngineClient>
pub fn client(&self) -> Arc<EngineClient>
Returns the EngineClient.
Trait Implementations§
Source§impl Clone for EngineBuilder
impl Clone for EngineBuilder
Source§fn clone(&self) -> EngineBuilder
fn clone(&self) -> EngineBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EngineBuilder
impl RefUnwindSafe for EngineBuilder
impl Send for EngineBuilder
impl Sync for EngineBuilder
impl Unpin for EngineBuilder
impl UnwindSafe for EngineBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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