pub enum OutcomeAction {
Proceed,
ReplaceOutput(String),
Stop(String),
}Variants§
Proceed
ReplaceOutput(String)
Replace what the model will read. The original is gone: this is for redaction as much as for repair, and a hook that wants both must include what it wants to keep.
Stop(String)
Trait Implementations§
Source§impl Clone for OutcomeAction
impl Clone for OutcomeAction
Source§impl Debug for OutcomeAction
impl Debug for OutcomeAction
impl Eq for OutcomeAction
Source§impl PartialEq for OutcomeAction
impl PartialEq for OutcomeAction
impl StructuralPartialEq for OutcomeAction
Auto Trait Implementations§
impl Forget for OutcomeAction
impl Freeze for OutcomeAction
impl Move for OutcomeAction
impl RefUnwindSafe for OutcomeAction
impl Send for OutcomeActionwhere
RawVecInner: Send,
impl Sync for OutcomeActionwhere
RawVecInner: Sync,
impl Unpin for OutcomeAction
impl UnsafeUnpin for OutcomeAction
impl UnwindSafe for OutcomeActionwhere
RawVecInner: 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.