pub enum GuardAction {
Continue(String),
Done,
Fail(String),
}Expand description
Guard decision result
Variants§
Continue(String)
Continue loop, inject nudge message
Done
End loop, return done
Fail(String)
End loop, return failure
Trait Implementations§
Source§impl Clone for GuardAction
impl Clone for GuardAction
Source§fn clone(&self) -> GuardAction
fn clone(&self) -> GuardAction
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 GuardAction
impl Debug for GuardAction
Source§impl<'de> Deserialize<'de> for GuardAction
impl<'de> Deserialize<'de> for GuardAction
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
Auto Trait Implementations§
impl Freeze for GuardAction
impl RefUnwindSafe for GuardAction
impl Send for GuardAction
impl Sync for GuardAction
impl Unpin for GuardAction
impl UnsafeUnpin for GuardAction
impl UnwindSafe for GuardAction
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