pub struct DerivationInboundChannels {
pub l1_head_updates_tx: Sender<Option<BlockInfo>>,
pub engine_l2_safe_head_tx: Sender<L2BlockInfo>,
pub el_sync_complete_tx: Sender<()>,
pub derivation_signal_tx: Sender<Signal>,
}Expand description
The inbound channels for the derivation actor. These channels are used to send messages to the derivation actor by other actors.
Fields§
§l1_head_updates_tx: Sender<Option<BlockInfo>>The sender for L1 head update notifications.
engine_l2_safe_head_tx: Sender<L2BlockInfo>The sender for L2 safe head update notifications.
el_sync_complete_tx: Sender<()>A sender used by the engine to signal derivation to begin. Completing EL sync consumes the instance.
derivation_signal_tx: Sender<Signal>A sender that sends a Signal to the derivation pipeline.
This channel should be used by the engine actor to send Signals to the derivation
pipeline. The signals are received by DerivationActor::derivation_signal_rx.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DerivationInboundChannels
impl !RefUnwindSafe for DerivationInboundChannels
impl Send for DerivationInboundChannels
impl Sync for DerivationInboundChannels
impl Unpin for DerivationInboundChannels
impl !UnwindSafe for DerivationInboundChannels
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