Enum Armed
pub enum Armed {
Staged,
Nothing,
}Expand description
What Fixture::arm_held_above_frontier reports it did.
The rule asserts Armed::Staged before it appends. That is how a fixture
that claims HELD_ABOVE_FRONTIER and forgets
the override fails on every run, rather than only on runs where nothing
else happens to hold the store’s frontier back.
Deliberately exhaustive, like RuleOutcome. An arming either happened or
it did not, and a third answer would be one the rule could not judge.
Variants§
Staged
The override armed the store: the next append is held above the frontier.
Nothing
Nothing was armed. Only the provided body returns this.
Trait Implementations§
impl Copy for Armed
impl Eq for Armed
impl StructuralPartialEq for Armed
Auto Trait Implementations§
impl Freeze for Armed
impl RefUnwindSafe for Armed
impl Send for Armed
impl Sync for Armed
impl Unpin for Armed
impl UnsafeUnpin for Armed
impl UnwindSafe for Armed
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