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.clientsuite/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, DefaultFuchsiaResourceDialect>
pub fn is_test_enabled( &self, test: Test, ) -> QueryResponseFut<bool, DefaultFuchsiaResourceDialect>
pub fn check_alive(&self) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn get_bindings_properties( &self, ) -> QueryResponseFut<BindingsProperties, DefaultFuchsiaResourceDialect>
pub fn call_two_way_no_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_struct_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> QueryResponseFut<NonEmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_table_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> QueryResponseFut<TableResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_union_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> QueryResponseFut<UnionResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_struct_payload_err( &self, target: ClientEnd<ClosedTargetMarker>, ) -> QueryResponseFut<NonEmptyResultWithErrorClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_struct_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &NonEmptyPayload, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_table_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &TablePayload, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_two_way_union_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &UnionPayload, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_one_way_no_request( &self, target: ClientEnd<ClosedTargetMarker>, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_one_way_struct_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &NonEmptyPayload, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_one_way_table_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &TablePayload, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_one_way_union_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &UnionPayload, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_strict_one_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_flexible_one_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_strict_two_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_strict_two_way_fields( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<NonEmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_strict_two_way_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<EmptyResultWithErrorClassification, DefaultFuchsiaResourceDialect>
pub fn call_strict_two_way_fields_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<NonEmptyResultWithErrorClassification, DefaultFuchsiaResourceDialect>
pub fn call_flexible_two_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<EmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_flexible_two_way_fields( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<NonEmptyResultClassification, DefaultFuchsiaResourceDialect>
pub fn call_flexible_two_way_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<EmptyResultWithErrorClassification, DefaultFuchsiaResourceDialect>
pub fn call_flexible_two_way_fields_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> QueryResponseFut<NonEmptyResultWithErrorClassification, DefaultFuchsiaResourceDialect>
pub fn receive_closed_events( &self, target: ClientEnd<ClosedTargetMarker>, reporter: ClientEnd<ClosedTargetEventReporterMarker>, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn receive_ajar_events( &self, target: ClientEnd<AjarTargetMarker>, reporter: ClientEnd<AjarTargetEventReporterMarker>, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
pub fn receive_open_events( &self, target: ClientEnd<OpenTargetMarker>, reporter: ClientEnd<OpenTargetEventReporterMarker>, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect>
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
Source§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>
type IsTestEnabledResponseFut = QueryResponseFut<bool>
type CheckAliveResponseFut = QueryResponseFut<()>
type GetBindingsPropertiesResponseFut = QueryResponseFut<BindingsProperties>
type CallTwoWayNoPayloadResponseFut = QueryResponseFut<EmptyResultClassification>
type CallTwoWayStructPayloadResponseFut = QueryResponseFut<NonEmptyResultClassification>
type CallTwoWayTablePayloadResponseFut = QueryResponseFut<TableResultClassification>
type CallTwoWayUnionPayloadResponseFut = QueryResponseFut<UnionResultClassification>
type CallTwoWayStructPayloadErrResponseFut = QueryResponseFut<NonEmptyResultWithErrorClassification>
type CallTwoWayStructRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallTwoWayTableRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallTwoWayUnionRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallOneWayNoRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallOneWayStructRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallOneWayTableRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallOneWayUnionRequestResponseFut = QueryResponseFut<EmptyResultClassification>
type CallStrictOneWayResponseFut = QueryResponseFut<EmptyResultClassification>
type CallFlexibleOneWayResponseFut = QueryResponseFut<EmptyResultClassification>
type CallStrictTwoWayResponseFut = QueryResponseFut<EmptyResultClassification>
type CallStrictTwoWayFieldsResponseFut = QueryResponseFut<NonEmptyResultClassification>
type CallStrictTwoWayErrResponseFut = QueryResponseFut<EmptyResultWithErrorClassification>
type CallStrictTwoWayFieldsErrResponseFut = QueryResponseFut<NonEmptyResultWithErrorClassification>
type CallFlexibleTwoWayResponseFut = QueryResponseFut<EmptyResultClassification>
type CallFlexibleTwoWayFieldsResponseFut = QueryResponseFut<NonEmptyResultClassification>
type CallFlexibleTwoWayErrResponseFut = QueryResponseFut<EmptyResultWithErrorClassification>
type CallFlexibleTwoWayFieldsErrResponseFut = QueryResponseFut<NonEmptyResultWithErrorClassification>
type ReceiveClosedEventsResponseFut = QueryResponseFut<()>
type ReceiveAjarEventsResponseFut = QueryResponseFut<()>
type ReceiveOpenEventsResponseFut = QueryResponseFut<()>
fn get_version(&self) -> Self::GetVersionResponseFut
fn is_test_enabled(&self, test: Test) -> Self::IsTestEnabledResponseFut
fn check_alive(&self) -> Self::CheckAliveResponseFut
fn get_bindings_properties(&self) -> Self::GetBindingsPropertiesResponseFut
fn call_two_way_no_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayNoPayloadResponseFut
fn call_two_way_struct_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayStructPayloadResponseFut
fn call_two_way_table_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayTablePayloadResponseFut
fn call_two_way_union_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayUnionPayloadResponseFut
fn call_two_way_struct_payload_err( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayStructPayloadErrResponseFut
fn call_two_way_struct_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &NonEmptyPayload, ) -> Self::CallTwoWayStructRequestResponseFut
fn call_two_way_table_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &TablePayload, ) -> Self::CallTwoWayTableRequestResponseFut
fn call_two_way_union_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &UnionPayload, ) -> Self::CallTwoWayUnionRequestResponseFut
fn call_one_way_no_request( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallOneWayNoRequestResponseFut
fn call_one_way_struct_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &NonEmptyPayload, ) -> Self::CallOneWayStructRequestResponseFut
fn call_one_way_table_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &TablePayload, ) -> Self::CallOneWayTableRequestResponseFut
fn call_one_way_union_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &UnionPayload, ) -> Self::CallOneWayUnionRequestResponseFut
fn call_strict_one_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictOneWayResponseFut
fn call_flexible_one_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleOneWayResponseFut
fn call_strict_two_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayResponseFut
fn call_strict_two_way_fields( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayFieldsResponseFut
fn call_strict_two_way_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayErrResponseFut
fn call_strict_two_way_fields_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayFieldsErrResponseFut
fn call_flexible_two_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayResponseFut
fn call_flexible_two_way_fields( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayFieldsResponseFut
fn call_flexible_two_way_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayErrResponseFut
fn call_flexible_two_way_fields_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayFieldsErrResponseFut
fn receive_closed_events( &self, target: ClientEnd<ClosedTargetMarker>, reporter: ClientEnd<ClosedTargetEventReporterMarker>, ) -> Self::ReceiveClosedEventsResponseFut
fn receive_ajar_events( &self, target: ClientEnd<AjarTargetMarker>, reporter: ClientEnd<AjarTargetEventReporterMarker>, ) -> Self::ReceiveAjarEventsResponseFut
fn receive_open_events( &self, target: ClientEnd<OpenTargetMarker>, reporter: ClientEnd<OpenTargetEventReporterMarker>, ) -> Self::ReceiveOpenEventsResponseFut
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ProxyHasClient for Twhere
T: Proxy,
impl<T> ProxyHasClient for Twhere
T: Proxy,
Source§fn client(&self) -> Result<ZirconClient, Infallible>
fn client(&self) -> Result<ZirconClient, Infallible>
Get a “client” for this proxy. This is just an object which has methods
for a few common handle creation operations.