pub enum ExecutionPhase {
RunSetup,
SuiteSetup,
ClassSetup,
TestSetup,
TestBody,
DynamicTeardown,
TestTeardown,
ClassTeardown,
SuiteTeardown,
RunTeardown,
}Variants§
RunSetup
SuiteSetup
ClassSetup
TestSetup
TestBody
DynamicTeardown
TestTeardown
ClassTeardown
SuiteTeardown
RunTeardown
Implementations§
Source§impl ExecutionPhase
impl ExecutionPhase
pub fn is_teardown(self) -> bool
Trait Implementations§
Source§impl Clone for ExecutionPhase
impl Clone for ExecutionPhase
Source§fn clone(&self) -> ExecutionPhase
fn clone(&self) -> ExecutionPhase
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 moreimpl Copy for ExecutionPhase
Source§impl Debug for ExecutionPhase
impl Debug for ExecutionPhase
Source§impl<'de> Deserialize<'de> for ExecutionPhase
impl<'de> Deserialize<'de> for ExecutionPhase
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 ExecutionPhase
Source§impl Hash for ExecutionPhase
impl Hash for ExecutionPhase
Source§impl Ord for ExecutionPhase
impl Ord for ExecutionPhase
Source§fn cmp(&self, other: &ExecutionPhase) -> Ordering
fn cmp(&self, other: &ExecutionPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExecutionPhase
impl PartialEq for ExecutionPhase
Source§impl PartialOrd for ExecutionPhase
impl PartialOrd for ExecutionPhase
Source§impl Serialize for ExecutionPhase
impl Serialize for ExecutionPhase
impl StructuralPartialEq for ExecutionPhase
Auto Trait Implementations§
impl Freeze for ExecutionPhase
impl RefUnwindSafe for ExecutionPhase
impl Send for ExecutionPhase
impl Sync for ExecutionPhase
impl Unpin for ExecutionPhase
impl UnsafeUnpin for ExecutionPhase
impl UnwindSafe for ExecutionPhase
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