pub struct FeedbackLoopRunPolicy { /* private fields */ }Expand description
Startup and termination behavior for feedback-loop workflows.
Implementations§
Source§impl FeedbackLoopRunPolicy
impl FeedbackLoopRunPolicy
Sourcepub const fn new(
startup: FeedbackLoopStartup,
termination: FeedbackLoopTermination,
) -> Self
pub const fn new( startup: FeedbackLoopStartup, termination: FeedbackLoopTermination, ) -> Self
Create an explicit feedback-loop policy.
Sourcepub const fn start_all_nodes_until_complete() -> Self
pub const fn start_all_nodes_until_complete() -> Self
Start every node immediately and finish when all node tasks finish.
Sourcepub const fn startup(&self) -> FeedbackLoopStartup
pub const fn startup(&self) -> FeedbackLoopStartup
Configured feedback-loop startup behavior.
Sourcepub const fn termination(&self) -> FeedbackLoopTermination
pub const fn termination(&self) -> FeedbackLoopTermination
Configured feedback-loop termination behavior.
Trait Implementations§
Source§impl Clone for FeedbackLoopRunPolicy
impl Clone for FeedbackLoopRunPolicy
Source§fn clone(&self) -> FeedbackLoopRunPolicy
fn clone(&self) -> FeedbackLoopRunPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeedbackLoopRunPolicy
impl Debug for FeedbackLoopRunPolicy
Source§impl PartialEq for FeedbackLoopRunPolicy
impl PartialEq for FeedbackLoopRunPolicy
Source§fn eq(&self, other: &FeedbackLoopRunPolicy) -> bool
fn eq(&self, other: &FeedbackLoopRunPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FeedbackLoopRunPolicy
impl Eq for FeedbackLoopRunPolicy
impl StructuralPartialEq for FeedbackLoopRunPolicy
Auto Trait Implementations§
impl Freeze for FeedbackLoopRunPolicy
impl RefUnwindSafe for FeedbackLoopRunPolicy
impl Send for FeedbackLoopRunPolicy
impl Sync for FeedbackLoopRunPolicy
impl Unpin for FeedbackLoopRunPolicy
impl UnsafeUnpin for FeedbackLoopRunPolicy
impl UnwindSafe for FeedbackLoopRunPolicy
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: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).