pub enum BranchOutcome {
Taken,
NotTaken,
Propagate(OperationResult),
}Expand description
Outcome of inspecting a branch condition or a boolean operand.
Variants§
Taken
The boolean was true.
NotTaken
The boolean was false.
Propagate(OperationResult)
This result becomes the value of the enclosing computation (vetoes that propagate).
Trait Implementations§
Source§impl Clone for BranchOutcome
impl Clone for BranchOutcome
Auto Trait Implementations§
impl Forget for BranchOutcome
impl Freeze for BranchOutcome
impl Move for BranchOutcome
impl RefUnwindSafe for BranchOutcome
impl Send for BranchOutcome
impl Sync for BranchOutcome
impl Unpin for BranchOutcome
impl UnsafeUnpin for BranchOutcome
impl UnwindSafe for BranchOutcome
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