pub struct ActivationSignal {
pub l2_safe_head: L2BlockInfo,
pub l1_origin: BlockInfo,
pub system_config: Option<SystemConfig>,
}
Expand description
A pipeline hardfork activation signal.
Fields§
§l2_safe_head: L2BlockInfo
The L2 safe head to reset to.
l1_origin: BlockInfo
The L1 origin to reset to.
system_config: Option<SystemConfig>
The optional SystemConfig to reset with.
Implementations§
Source§impl ActivationSignal
impl ActivationSignal
Sourcepub const fn signal(self) -> Signal
pub const fn signal(self) -> Signal
Creates a new Signal::Activation from the ActivationSignal.
Sourcepub const fn with_system_config(self, system_config: SystemConfig) -> Self
pub const fn with_system_config(self, system_config: SystemConfig) -> Self
Sets the SystemConfig for the signal.
Trait Implementations§
Source§impl Clone for ActivationSignal
impl Clone for ActivationSignal
Source§fn clone(&self) -> ActivationSignal
fn clone(&self) -> ActivationSignal
Returns a copy 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 moreSource§impl Debug for ActivationSignal
impl Debug for ActivationSignal
Source§impl Default for ActivationSignal
impl Default for ActivationSignal
Source§fn default() -> ActivationSignal
fn default() -> ActivationSignal
Returns the “default value” for a type. Read more
Source§impl PartialEq for ActivationSignal
impl PartialEq for ActivationSignal
impl Copy for ActivationSignal
impl Eq for ActivationSignal
impl StructuralPartialEq for ActivationSignal
Auto Trait Implementations§
impl Freeze for ActivationSignal
impl RefUnwindSafe for ActivationSignal
impl Send for ActivationSignal
impl Sync for ActivationSignal
impl Unpin for ActivationSignal
impl UnwindSafe for ActivationSignal
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)