pub enum DelegateBindingKind {
Script,
Noop,
Fail,
}Expand description
DelegateBindingKind : script runs the bound script as an ordinary child job. noop completes the element immediately, writes results.<element_id> = null and records the skip in the job trace — it grants nothing, which makes it the safest row kind, and its reason is mandatory. fail is a deploy error naming the element: "we looked and decided not yet", a different state from unbound ("nobody looked"), and the difference is carried entirely by reason.
script runs the bound script as an ordinary child job. noop completes the element immediately, writes results.<element_id> = null and records the skip in the job trace — it grants nothing, which makes it the safest row kind, and its reason is mandatory. fail is a deploy error naming the element: "we looked and decided not yet", a different state from unbound ("nobody looked"), and the difference is carried entirely by reason.
Variants§
Trait Implementations§
Source§impl Clone for DelegateBindingKind
impl Clone for DelegateBindingKind
Source§fn clone(&self) -> DelegateBindingKind
fn clone(&self) -> DelegateBindingKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DelegateBindingKind
Source§impl Debug for DelegateBindingKind
impl Debug for DelegateBindingKind
Source§impl Default for DelegateBindingKind
impl Default for DelegateBindingKind
Source§fn default() -> DelegateBindingKind
fn default() -> DelegateBindingKind
Source§impl<'de> Deserialize<'de> for DelegateBindingKind
impl<'de> Deserialize<'de> for DelegateBindingKind
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>,
Source§impl Display for DelegateBindingKind
impl Display for DelegateBindingKind
impl Eq for DelegateBindingKind
Source§impl Hash for DelegateBindingKind
impl Hash for DelegateBindingKind
Source§impl Ord for DelegateBindingKind
impl Ord for DelegateBindingKind
Source§fn cmp(&self, other: &DelegateBindingKind) -> Ordering
fn cmp(&self, other: &DelegateBindingKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DelegateBindingKind
impl PartialEq for DelegateBindingKind
Source§impl PartialOrd for DelegateBindingKind
impl PartialOrd for DelegateBindingKind
Source§impl Serialize for DelegateBindingKind
impl Serialize for DelegateBindingKind
impl StructuralPartialEq for DelegateBindingKind
Auto Trait Implementations§
impl Freeze for DelegateBindingKind
impl RefUnwindSafe for DelegateBindingKind
impl Send for DelegateBindingKind
impl Sync for DelegateBindingKind
impl Unpin for DelegateBindingKind
impl UnsafeUnpin for DelegateBindingKind
impl UnwindSafe for DelegateBindingKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.