Enum Reopened
pub enum Reopened {
Discarded,
Nothing,
}Expand description
What ProjectionFixture::reopen reports it did.
The rule asserts Reopened::Discarded before it reads anything back.
That is how a fixture that claims REOPEN and
forgets the override fails on every run, rather than passing over a store
nobody reopened.
Deliberately exhaustive, like Armed. A reopen either happened or it did
not, and a third answer would be one the rule could not judge.
Variants§
Discarded
The override discarded every outstanding handle’s process-level state, over a medium that outlives it.
Nothing
Nothing was reopened. Only the provided body returns this.
Trait Implementations§
impl Copy for Reopened
impl Eq for Reopened
impl StructuralPartialEq for Reopened
Auto Trait Implementations§
impl Freeze for Reopened
impl RefUnwindSafe for Reopened
impl Send for Reopened
impl Sync for Reopened
impl Unpin for Reopened
impl UnsafeUnpin for Reopened
impl UnwindSafe for Reopened
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