Struct fidl_fidl_serversuite::RunnerProxy
source · pub struct RunnerProxy { /* private fields */ }
Implementations§
source§impl RunnerProxy
impl RunnerProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fidl.serversuite/Runner.
sourcepub fn take_event_stream(&self) -> RunnerEventStream
pub fn take_event_stream(&self) -> RunnerEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn get_version(&self) -> QueryResponseFut<u64>
pub fn check_alive(&self) -> QueryResponseFut<()>
pub fn start( &self, test: Test, any_target: AnyTarget ) -> QueryResponseFut<RunnerStartResult>
pub fn shutdown_with_epitaph(&self, epitaph_status: i32) -> QueryResponseFut<()>
pub fn send_open_target_strict_event(&self) -> QueryResponseFut<()>
pub fn send_open_target_flexible_event(&self) -> QueryResponseFut<()>
Trait Implementations§
source§impl Clone for RunnerProxy
impl Clone for RunnerProxy
source§fn clone(&self) -> RunnerProxy
fn clone(&self) -> RunnerProxy
Returns a copy of the value. Read more
1.0.0 · 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 RunnerProxy
impl Debug for RunnerProxy
source§impl Proxy for RunnerProxy
impl Proxy for RunnerProxy
§type Protocol = RunnerMarker
type Protocol = RunnerMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more
source§impl RunnerProxyInterface for RunnerProxy
impl RunnerProxyInterface for RunnerProxy
type GetVersionResponseFut = QueryResponseFut<u64>
fn get_version(&self) -> Self::GetVersionResponseFut
type CheckAliveResponseFut = QueryResponseFut<()>
fn check_alive(&self) -> Self::CheckAliveResponseFut
type StartResponseFut = QueryResponseFut<Result<(), StartError>>
fn start(&self, test: Test, any_target: AnyTarget) -> Self::StartResponseFut
type ShutdownWithEpitaphResponseFut = QueryResponseFut<()>
fn shutdown_with_epitaph( &self, epitaph_status: i32 ) -> Self::ShutdownWithEpitaphResponseFut
type SendOpenTargetStrictEventResponseFut = QueryResponseFut<()>
fn send_open_target_strict_event( &self ) -> Self::SendOpenTargetStrictEventResponseFut
type SendOpenTargetFlexibleEventResponseFut = QueryResponseFut<()>
fn send_open_target_flexible_event( &self ) -> Self::SendOpenTargetFlexibleEventResponseFut
Auto Trait Implementations§
impl Freeze for RunnerProxy
impl !RefUnwindSafe for RunnerProxy
impl Send for RunnerProxy
impl Sync for RunnerProxy
impl Unpin for RunnerProxy
impl !UnwindSafe for RunnerProxy
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