pub struct ResetSignal {
pub l2_safe_head: L2BlockInfo,
pub l1_origin: BlockInfo,
pub system_config: Option<SystemConfig>,
}
Expand description
A pipeline reset 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 ResetSignal
impl ResetSignal
Sourcepub const fn signal(self) -> Signal
pub const fn signal(self) -> Signal
Creates a new Signal::Reset from the ResetSignal.
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 ResetSignal
impl Clone for ResetSignal
Source§fn clone(&self) -> ResetSignal
fn clone(&self) -> ResetSignal
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 ResetSignal
impl Debug for ResetSignal
Source§impl Default for ResetSignal
impl Default for ResetSignal
Source§fn default() -> ResetSignal
fn default() -> ResetSignal
Returns the “default value” for a type. Read more
Source§impl PartialEq for ResetSignal
impl PartialEq for ResetSignal
impl Copy for ResetSignal
impl Eq for ResetSignal
impl StructuralPartialEq for ResetSignal
Auto Trait Implementations§
impl Freeze for ResetSignal
impl RefUnwindSafe for ResetSignal
impl Send for ResetSignal
impl Sync for ResetSignal
impl Unpin for ResetSignal
impl UnwindSafe for ResetSignal
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
)