pub enum DependencyPolicy {
AllSuccess,
AcceptPartial,
AllTerminal,
Optional,
}Expand description
How a node interprets the terminal states of its declared dependencies.
Variants§
AllSuccess
Every dependency must finish with a complete (non-partial) result.
AcceptPartial
Complete and partial results satisfy the dependency; failures do not.
AllTerminal
Wait for every dependency to terminate, regardless of its outcome.
Optional
Dependencies are inputs when available, but never gate execution.
Trait Implementations§
Source§impl Clone for DependencyPolicy
impl Clone for DependencyPolicy
Source§fn clone(&self) -> DependencyPolicy
fn clone(&self) -> DependencyPolicy
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 moreimpl Copy for DependencyPolicy
Source§impl Debug for DependencyPolicy
impl Debug for DependencyPolicy
Source§impl Default for DependencyPolicy
impl Default for DependencyPolicy
Source§fn default() -> DependencyPolicy
fn default() -> DependencyPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependencyPolicy
impl<'de> Deserialize<'de> for DependencyPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DependencyPolicy
Source§impl PartialEq for DependencyPolicy
impl PartialEq for DependencyPolicy
Source§impl Serialize for DependencyPolicy
impl Serialize for DependencyPolicy
impl StructuralPartialEq for DependencyPolicy
Auto Trait Implementations§
impl Freeze for DependencyPolicy
impl RefUnwindSafe for DependencyPolicy
impl Send for DependencyPolicy
impl Sync for DependencyPolicy
impl Unpin for DependencyPolicy
impl UnsafeUnpin for DependencyPolicy
impl UnwindSafe for DependencyPolicy
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