pub struct StepNode { /* private fields */ }Expand description
One executable node of a compiled plan.
Implementations§
Source§impl StepNode
impl StepNode
Sourcepub fn new(id: NodeId, step_name: StepName, components: StepComponents) -> Self
pub fn new(id: NodeId, step_name: StepName, components: StepComponents) -> Self
Declares one step node.
Sourcepub const fn with_start_controls(self, start: StartControls) -> Self
pub const fn with_start_controls(self, start: StartControls) -> Self
Declares explicit start controls.
Sourcepub fn with_fault_policy(self, policy: FaultPolicy) -> Self
pub fn with_fault_policy(self, policy: FaultPolicy) -> Self
Declares the fault policy this step’s fingerprint captures.
Sourcepub fn with_listener_revision(self, revision: ComponentRevision) -> Self
pub fn with_listener_revision(self, revision: ComponentRevision) -> Self
Declares one authoritative listener revision in registration order.
Sourcepub const fn components(&self) -> &StepComponents
pub const fn components(&self) -> &StepComponents
Borrows the executable component declaration.
Sourcepub const fn start_controls(&self) -> StartControls
pub const fn start_controls(&self) -> StartControls
Returns the restart-relevant start controls.
Sourcepub const fn fault_policy(&self) -> Option<&FaultPolicy>
pub const fn fault_policy(&self) -> Option<&FaultPolicy>
Borrows the declared fault policy.
Sourcepub fn listener_revisions(&self) -> &[ComponentRevision]
pub fn listener_revisions(&self) -> &[ComponentRevision]
Borrows the authoritative listener revisions in registration order.
Trait Implementations§
impl Eq for StepNode
impl StructuralPartialEq for StepNode
Auto Trait Implementations§
impl Freeze for StepNode
impl RefUnwindSafe for StepNode
impl Send for StepNode
impl Sync for StepNode
impl Unpin for StepNode
impl UnsafeUnpin for StepNode
impl UnwindSafe for StepNode
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