pub struct RunBuilderSynchronousProxy { /* private fields */ }
Implementations§
Source§impl RunBuilderSynchronousProxy
impl RunBuilderSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<RunBuilderEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<RunBuilderEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn add_suite(
&self,
test_url: &str,
options: &RunOptions,
controller: ServerEnd<SuiteControllerMarker>,
) -> Result<(), Error>
pub fn add_suite( &self, test_url: &str, options: &RunOptions, controller: ServerEnd<SuiteControllerMarker>, ) -> Result<(), Error>
Add a suite to this run. A suite is a component that implements
fuchsia.test.Suite
. Implementors of this API will talk to test suites
using “Suite” protocol and return results using controller
. The
controller is also used to control the execution of the test suite.
Sourcepub fn add_suite_in_realm(
&self,
realm: ClientEnd<RealmMarker>,
offers: &[Offer],
test_collection: &str,
test_url: &str,
options: &RunOptions,
controller: ServerEnd<SuiteControllerMarker>,
) -> Result<(), Error>
pub fn add_suite_in_realm( &self, realm: ClientEnd<RealmMarker>, offers: &[Offer], test_collection: &str, test_url: &str, options: &RunOptions, controller: ServerEnd<SuiteControllerMarker>, ) -> Result<(), Error>
Add a suite to this run which would run in provided ‘realm’. A suite is
a component that implements fuchsia.test.Suite
. Implementors of this
API will talk to test suites using “Suite” protocol and return results
using controller
. The controller is also used to control the execution
of the test suite.
Sourcepub fn with_scheduling_options(
&self,
options: &SchedulingOptions,
) -> Result<(), Error>
pub fn with_scheduling_options( &self, options: &SchedulingOptions, ) -> Result<(), Error>
Specify scheduling options used for this run.
Trait Implementations§
Source§impl Debug for RunBuilderSynchronousProxy
impl Debug for RunBuilderSynchronousProxy
Source§impl From<Channel> for RunBuilderSynchronousProxy
impl From<Channel> for RunBuilderSynchronousProxy
Source§impl From<RunBuilderSynchronousProxy> for Handle
impl From<RunBuilderSynchronousProxy> for Handle
Source§fn from(value: RunBuilderSynchronousProxy) -> Self
fn from(value: RunBuilderSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for RunBuilderSynchronousProxy
impl FromClient for RunBuilderSynchronousProxy
Source§type Protocol = RunBuilderMarker
type Protocol = RunBuilderMarker
The protocol.
Source§fn from_client(value: ClientEnd<RunBuilderMarker>) -> Self
fn from_client(value: ClientEnd<RunBuilderMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for RunBuilderSynchronousProxy
impl SynchronousProxy for RunBuilderSynchronousProxy
Source§type Proxy = RunBuilderProxy
type Proxy = RunBuilderProxy
The async proxy for the same protocol.
Source§type Protocol = RunBuilderMarker
type Protocol = RunBuilderMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for RunBuilderSynchronousProxy
impl RefUnwindSafe for RunBuilderSynchronousProxy
impl Send for RunBuilderSynchronousProxy
impl Sync for RunBuilderSynchronousProxy
impl Unpin for RunBuilderSynchronousProxy
impl UnwindSafe for RunBuilderSynchronousProxy
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