struct TestWatcher<T: TestHook> {
name: String,
hook: T,
}
Fields§
§name: String
§hook: T
Implementations§
Source§impl<H: TestHook + 'static> TestWatcher<H>
impl<H: TestHook + 'static> TestWatcher<H>
fn new(name: String, hook: H) -> TestWatcher<H>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TestWatcher<T>where
T: Freeze,
impl<T> RefUnwindSafe for TestWatcher<T>where
T: RefUnwindSafe,
impl<T> Send for TestWatcher<T>where
T: Send,
impl<T> Sync for TestWatcher<T>where
T: Sync,
impl<T> Unpin for TestWatcher<T>where
T: Unpin,
impl<T> UnwindSafe for TestWatcher<T>where
T: UnwindSafe,
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