pub struct InternalSynchronousProxy { /* private fields */ }
Implementations§
Source§impl InternalSynchronousProxy
impl InternalSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<InternalEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<InternalEvent, 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 get_test_package(
&self,
___deadline: MonotonicInstant,
) -> Result<InternalGetTestPackageResult, Error>
pub fn get_test_package( &self, ___deadline: MonotonicInstant, ) -> Result<InternalGetTestPackageResult, Error>
Gets the test component’s package directory. This is used to read drivers in this package. If a test resolution context is available through |GetTestResolutionContext|, subpackages in this test package are also discovered.
Sourcepub fn get_test_resolution_context(
&self,
___deadline: MonotonicInstant,
) -> Result<InternalGetTestResolutionContextResult, Error>
pub fn get_test_resolution_context( &self, ___deadline: MonotonicInstant, ) -> Result<InternalGetTestResolutionContextResult, Error>
Gets the test component’s resolution context. This is used to open subpackages of the test package.
Sourcepub fn get_boot_directory(
&self,
___deadline: MonotonicInstant,
) -> Result<InternalGetBootDirectoryResult, Error>
pub fn get_boot_directory( &self, ___deadline: MonotonicInstant, ) -> Result<InternalGetBootDirectoryResult, Error>
Get the ‘/boot’ directory to be used for the “fuchsia-boot:///” resolver. If an invalid |boot_dir| is returned, the driver test realm’s ‘/pkg’ directory is treated as the boot directory.
pub fn get_boot_driver_overrides( &self, ___deadline: MonotonicInstant, ) -> Result<InternalGetBootDriverOverridesResult, Error>
Trait Implementations§
Source§impl Debug for InternalSynchronousProxy
impl Debug for InternalSynchronousProxy
Source§impl SynchronousProxy for InternalSynchronousProxy
impl SynchronousProxy for InternalSynchronousProxy
Source§type Proxy = InternalProxy
type Proxy = InternalProxy
The async proxy for the same protocol.
Source§type Protocol = InternalMarker
type Protocol = InternalMarker
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 InternalSynchronousProxy
impl RefUnwindSafe for InternalSynchronousProxy
impl Send for InternalSynchronousProxy
impl Sync for InternalSynchronousProxy
impl Unpin for InternalSynchronousProxy
impl UnwindSafe for InternalSynchronousProxy
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