pub enum ControlFlow {
Continue,
Stop,
}Expand description
Cooperative action returned at a documented safe execution boundary.
Variants§
Continue
Continue the bounded operation.
Stop
Stop after retaining all causal work admitted before this boundary.
Trait Implementations§
Source§impl Clone for ControlFlow
impl Clone for ControlFlow
impl Copy for ControlFlow
Source§impl Debug for ControlFlow
impl Debug for ControlFlow
Source§impl Default for ControlFlow
impl Default for ControlFlow
Source§impl<'de> Deserialize<'de> for ControlFlow
impl<'de> Deserialize<'de> for ControlFlow
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 ControlFlow
Source§impl PartialEq for ControlFlow
impl PartialEq for ControlFlow
Source§impl Serialize for ControlFlow
impl Serialize for ControlFlow
impl StructuralPartialEq for ControlFlow
Auto Trait Implementations§
impl Freeze for ControlFlow
impl RefUnwindSafe for ControlFlow
impl Send for ControlFlow
impl Sync for ControlFlow
impl Unpin for ControlFlow
impl UnsafeUnpin for ControlFlow
impl UnwindSafe for ControlFlow
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