pub struct TestsSynchronousProxy { /* private fields */ }
Implementations§
source§impl TestsSynchronousProxy
impl TestsSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<TestsEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<TestsEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TestsSynchronousProxy
impl Send for TestsSynchronousProxy
impl Sync for TestsSynchronousProxy
impl Unpin for TestsSynchronousProxy
impl UnwindSafe for TestsSynchronousProxy
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