pub enum TestMode {
Init,
Check,
}Variants§
Implementations§
Source§impl TestMode
impl TestMode
pub fn from_environment() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestMode
impl RefUnwindSafe for TestMode
impl Send for TestMode
impl Sync for TestMode
impl Unpin for TestMode
impl UnwindSafe for TestMode
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