pub enum MapApplyResult<N> {
NodeCreated {
node_id: MapNodeId,
data: N,
},
NodeUpdated {
node_id: MapNodeId,
},
NodeCompleted {
node_id: MapNodeId,
},
NodeDeadEnd {
node_id: MapNodeId,
},
Failed {
node_id: MapNodeId,
can_retry: bool,
reason: String,
},
Ignored,
}Expand description
汎用的な更新結果
Variants§
NodeCreated
新しいノードが作成された
NodeUpdated
ノードの状態が更新された
NodeCompleted
ノードが完了としてマークされた
NodeDeadEnd
ノードが行き止まりとしてマークされた
Failed
失敗(リトライ可能かどうかを含む)
Ignored
無視された(重複や Pending など)
Trait Implementations§
Source§impl<N: Clone> Clone for MapApplyResult<N>
impl<N: Clone> Clone for MapApplyResult<N>
Source§fn clone(&self) -> MapApplyResult<N>
fn clone(&self) -> MapApplyResult<N>
Returns a duplicate 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<N: Debug> Debug for MapApplyResult<N>
impl<N: Debug> Debug for MapApplyResult<N>
Source§impl<N: PartialEq> PartialEq for MapApplyResult<N>
impl<N: PartialEq> PartialEq for MapApplyResult<N>
impl<N: Eq> Eq for MapApplyResult<N>
impl<N> StructuralPartialEq for MapApplyResult<N>
Auto Trait Implementations§
impl<N> Freeze for MapApplyResult<N>where
N: Freeze,
impl<N> RefUnwindSafe for MapApplyResult<N>where
N: RefUnwindSafe,
impl<N> Send for MapApplyResult<N>where
N: Send,
impl<N> Sync for MapApplyResult<N>where
N: Sync,
impl<N> Unpin for MapApplyResult<N>where
N: Unpin,
impl<N> UnwindSafe for MapApplyResult<N>where
N: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more