pub trait RunnerProxyInterface: Send + Sync {
Show 58 associated items
type GetVersionResponseFut: Future<Output = Result<u64, Error>> + Send;
type IsTestEnabledResponseFut: Future<Output = Result<bool, Error>> + Send;
type CheckAliveResponseFut: Future<Output = Result<(), Error>> + Send;
type GetBindingsPropertiesResponseFut: Future<Output = Result<BindingsProperties, Error>> + Send;
type CallTwoWayNoPayloadResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallTwoWayStructPayloadResponseFut: Future<Output = Result<NonEmptyResultClassification, Error>> + Send;
type CallTwoWayTablePayloadResponseFut: Future<Output = Result<TableResultClassification, Error>> + Send;
type CallTwoWayUnionPayloadResponseFut: Future<Output = Result<UnionResultClassification, Error>> + Send;
type CallTwoWayStructPayloadErrResponseFut: Future<Output = Result<NonEmptyResultWithErrorClassification, Error>> + Send;
type CallTwoWayStructRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallTwoWayTableRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallTwoWayUnionRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallOneWayNoRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallOneWayStructRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallOneWayTableRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallOneWayUnionRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallStrictOneWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallFlexibleOneWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallStrictTwoWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallStrictTwoWayFieldsResponseFut: Future<Output = Result<NonEmptyResultClassification, Error>> + Send;
type CallStrictTwoWayErrResponseFut: Future<Output = Result<EmptyResultWithErrorClassification, Error>> + Send;
type CallStrictTwoWayFieldsErrResponseFut: Future<Output = Result<NonEmptyResultWithErrorClassification, Error>> + Send;
type CallFlexibleTwoWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send;
type CallFlexibleTwoWayFieldsResponseFut: Future<Output = Result<NonEmptyResultClassification, Error>> + Send;
type CallFlexibleTwoWayErrResponseFut: Future<Output = Result<EmptyResultWithErrorClassification, Error>> + Send;
type CallFlexibleTwoWayFieldsErrResponseFut: Future<Output = Result<NonEmptyResultWithErrorClassification, Error>> + Send;
type ReceiveClosedEventsResponseFut: Future<Output = Result<(), Error>> + Send;
type ReceiveAjarEventsResponseFut: Future<Output = Result<(), Error>> + Send;
type ReceiveOpenEventsResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
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;
}Required Associated Types§
type GetVersionResponseFut: Future<Output = Result<u64, Error>> + Send
type IsTestEnabledResponseFut: Future<Output = Result<bool, Error>> + Send
type CheckAliveResponseFut: Future<Output = Result<(), Error>> + Send
type GetBindingsPropertiesResponseFut: Future<Output = Result<BindingsProperties, Error>> + Send
type CallTwoWayNoPayloadResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallTwoWayStructPayloadResponseFut: Future<Output = Result<NonEmptyResultClassification, Error>> + Send
type CallTwoWayTablePayloadResponseFut: Future<Output = Result<TableResultClassification, Error>> + Send
type CallTwoWayUnionPayloadResponseFut: Future<Output = Result<UnionResultClassification, Error>> + Send
type CallTwoWayStructPayloadErrResponseFut: Future<Output = Result<NonEmptyResultWithErrorClassification, Error>> + Send
type CallTwoWayStructRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallTwoWayTableRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallTwoWayUnionRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallOneWayNoRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallOneWayStructRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallOneWayTableRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallOneWayUnionRequestResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallStrictOneWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallFlexibleOneWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallStrictTwoWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallStrictTwoWayFieldsResponseFut: Future<Output = Result<NonEmptyResultClassification, Error>> + Send
type CallStrictTwoWayErrResponseFut: Future<Output = Result<EmptyResultWithErrorClassification, Error>> + Send
type CallStrictTwoWayFieldsErrResponseFut: Future<Output = Result<NonEmptyResultWithErrorClassification, Error>> + Send
type CallFlexibleTwoWayResponseFut: Future<Output = Result<EmptyResultClassification, Error>> + Send
type CallFlexibleTwoWayFieldsResponseFut: Future<Output = Result<NonEmptyResultClassification, Error>> + Send
type CallFlexibleTwoWayErrResponseFut: Future<Output = Result<EmptyResultWithErrorClassification, Error>> + Send
type CallFlexibleTwoWayFieldsErrResponseFut: Future<Output = Result<NonEmptyResultWithErrorClassification, Error>> + Send
type ReceiveClosedEventsResponseFut: Future<Output = Result<(), Error>> + Send
type ReceiveAjarEventsResponseFut: Future<Output = Result<(), Error>> + Send
type ReceiveOpenEventsResponseFut: Future<Output = Result<(), Error>> + Send
Required Methods§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".