Struct fidl_fidl_clientsuite::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.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
§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 IsTestEnabledResponseFut = QueryResponseFut<bool>
fn is_test_enabled(&self, test: Test) -> Self::IsTestEnabledResponseFut
type CheckAliveResponseFut = QueryResponseFut<()>
fn check_alive(&self) -> Self::CheckAliveResponseFut
type GetBindingsPropertiesResponseFut = QueryResponseFut<BindingsProperties>
fn get_bindings_properties(&self) -> Self::GetBindingsPropertiesResponseFut
type CallTwoWayNoPayloadResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_two_way_no_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayNoPayloadResponseFut
type CallTwoWayStructPayloadResponseFut = QueryResponseFut<NonEmptyResultClassification>
fn call_two_way_struct_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayStructPayloadResponseFut
type CallTwoWayTablePayloadResponseFut = QueryResponseFut<TableResultClassification>
fn call_two_way_table_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayTablePayloadResponseFut
type CallTwoWayUnionPayloadResponseFut = QueryResponseFut<UnionResultClassification>
fn call_two_way_union_payload( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayUnionPayloadResponseFut
type CallTwoWayStructPayloadErrResponseFut = QueryResponseFut<NonEmptyResultWithErrorClassification>
fn call_two_way_struct_payload_err( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallTwoWayStructPayloadErrResponseFut
type CallTwoWayStructRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_two_way_struct_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &NonEmptyPayload, ) -> Self::CallTwoWayStructRequestResponseFut
type CallTwoWayTableRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_two_way_table_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &TablePayload, ) -> Self::CallTwoWayTableRequestResponseFut
type CallTwoWayUnionRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_two_way_union_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &UnionPayload, ) -> Self::CallTwoWayUnionRequestResponseFut
type CallOneWayNoRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_one_way_no_request( &self, target: ClientEnd<ClosedTargetMarker>, ) -> Self::CallOneWayNoRequestResponseFut
type CallOneWayStructRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_one_way_struct_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &NonEmptyPayload, ) -> Self::CallOneWayStructRequestResponseFut
type CallOneWayTableRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_one_way_table_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &TablePayload, ) -> Self::CallOneWayTableRequestResponseFut
type CallOneWayUnionRequestResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_one_way_union_request( &self, target: ClientEnd<ClosedTargetMarker>, request: &UnionPayload, ) -> Self::CallOneWayUnionRequestResponseFut
type CallStrictOneWayResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_strict_one_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictOneWayResponseFut
type CallFlexibleOneWayResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_flexible_one_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleOneWayResponseFut
type CallStrictTwoWayResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_strict_two_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayResponseFut
type CallStrictTwoWayFieldsResponseFut = QueryResponseFut<NonEmptyResultClassification>
fn call_strict_two_way_fields( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayFieldsResponseFut
type CallStrictTwoWayErrResponseFut = QueryResponseFut<EmptyResultWithErrorClassification>
fn call_strict_two_way_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayErrResponseFut
type CallStrictTwoWayFieldsErrResponseFut = QueryResponseFut<NonEmptyResultWithErrorClassification>
fn call_strict_two_way_fields_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallStrictTwoWayFieldsErrResponseFut
type CallFlexibleTwoWayResponseFut = QueryResponseFut<EmptyResultClassification>
fn call_flexible_two_way( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayResponseFut
type CallFlexibleTwoWayFieldsResponseFut = QueryResponseFut<NonEmptyResultClassification>
fn call_flexible_two_way_fields( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayFieldsResponseFut
type CallFlexibleTwoWayErrResponseFut = QueryResponseFut<EmptyResultWithErrorClassification>
fn call_flexible_two_way_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayErrResponseFut
type CallFlexibleTwoWayFieldsErrResponseFut = QueryResponseFut<NonEmptyResultWithErrorClassification>
fn call_flexible_two_way_fields_err( &self, target: ClientEnd<OpenTargetMarker>, ) -> Self::CallFlexibleTwoWayFieldsErrResponseFut
type ReceiveClosedEventsResponseFut = QueryResponseFut<()>
fn receive_closed_events( &self, target: ClientEnd<ClosedTargetMarker>, reporter: ClientEnd<ClosedTargetEventReporterMarker>, ) -> Self::ReceiveClosedEventsResponseFut
type ReceiveAjarEventsResponseFut = QueryResponseFut<()>
fn receive_ajar_events( &self, target: ClientEnd<AjarTargetMarker>, reporter: ClientEnd<AjarTargetEventReporterMarker>, ) -> Self::ReceiveAjarEventsResponseFut
type ReceiveOpenEventsResponseFut = QueryResponseFut<()>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)