pub struct FakeNativeHarness { /* private fields */ }Implementations§
Source§impl FakeNativeHarness
impl FakeNativeHarness
pub fn new(events: Vec<HarnessInternalEvent>) -> Self
Trait Implementations§
Source§impl Clone for FakeNativeHarness
impl Clone for FakeNativeHarness
Source§fn clone(&self) -> FakeNativeHarness
fn clone(&self) -> FakeNativeHarness
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 moreSource§impl Debug for FakeNativeHarness
impl Debug for FakeNativeHarness
Source§impl NativeHarness for FakeNativeHarness
impl NativeHarness for FakeNativeHarness
fn run_turn<'life0, 'async_trait>(
&'life0 self,
_input: NativeTurnInput,
) -> Pin<Box<dyn Future<Output = Result<Receiver<Result<HarnessInternalEvent, NativeHarnessError>>, NativeHarnessError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FakeNativeHarness
impl RefUnwindSafe for FakeNativeHarness
impl Send for FakeNativeHarness
impl Sync for FakeNativeHarness
impl Unpin for FakeNativeHarness
impl UnsafeUnpin for FakeNativeHarness
impl UnwindSafe for FakeNativeHarness
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