fidl_fidl_test_compatibility

Trait EchoProxyInterface

Source
pub trait EchoProxyInterface: Send + Sync {
Show 45 associated items type EchoTableRequestComposedResponseFut: Future<Output = Result<SimpleStruct, Error>> + Send; type EchoUnionResponseWithErrorComposedResponseFut: Future<Output = Result<ComposedEchoUnionResponseWithErrorComposedResult, Error>> + Send; type EchoMinimalResponseFut: Future<Output = Result<(), Error>> + Send; type EchoMinimalWithErrorResponseFut: Future<Output = Result<EchoEchoMinimalWithErrorResult, Error>> + Send; type EchoStructResponseFut: Future<Output = Result<Struct, Error>> + Send; type EchoStructWithErrorResponseFut: Future<Output = Result<EchoEchoStructWithErrorResult, Error>> + Send; type EchoArraysResponseFut: Future<Output = Result<ArraysStruct, Error>> + Send; type EchoArraysWithErrorResponseFut: Future<Output = Result<EchoEchoArraysWithErrorResult, Error>> + Send; type EchoVectorsResponseFut: Future<Output = Result<VectorsStruct, Error>> + Send; type EchoVectorsWithErrorResponseFut: Future<Output = Result<EchoEchoVectorsWithErrorResult, Error>> + Send; type EchoTableResponseFut: Future<Output = Result<AllTypesTable, Error>> + Send; type EchoTableWithErrorResponseFut: Future<Output = Result<EchoEchoTableWithErrorResult, Error>> + Send; type EchoXunionsResponseFut: Future<Output = Result<Vec<AllTypesXunion>, Error>> + Send; type EchoXunionsWithErrorResponseFut: Future<Output = Result<EchoEchoXunionsWithErrorResult, Error>> + Send; type EchoNamedStructResponseFut: Future<Output = Result<SimpleStruct, Error>> + Send; type EchoNamedStructWithErrorResponseFut: Future<Output = Result<EchoEchoNamedStructWithErrorResult, Error>> + Send; type EchoTablePayloadResponseFut: Future<Output = Result<ResponseTable, Error>> + Send; type EchoTablePayloadWithErrorResponseFut: Future<Output = Result<EchoEchoTablePayloadWithErrorResult, Error>> + Send; type EchoUnionPayloadResponseFut: Future<Output = Result<ResponseUnion, Error>> + Send; type EchoUnionPayloadWithErrorResponseFut: Future<Output = Result<EchoEchoUnionPayloadWithErrorResult, Error>> + Send; // Required methods fn echo_table_request_composed( &self, payload: &ComposedEchoTableRequestComposedRequest, ) -> Self::EchoTableRequestComposedResponseFut; fn echo_union_response_with_error_composed( &self, value: i64, want_absolute_value: bool, forward_to_server: &str, result_err: u32, result_variant: WantResponse, ) -> Self::EchoUnionResponseWithErrorComposedResponseFut; fn echo_minimal( &self, forward_to_server: &str, ) -> Self::EchoMinimalResponseFut; fn echo_minimal_with_error( &self, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoMinimalWithErrorResponseFut; fn echo_minimal_no_ret_val( &self, forward_to_server: &str, ) -> Result<(), Error>; fn echo_struct( &self, value: Struct, forward_to_server: &str, ) -> Self::EchoStructResponseFut; fn echo_struct_with_error( &self, value: Struct, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoStructWithErrorResponseFut; fn echo_struct_no_ret_val( &self, value: Struct, forward_to_server: &str, ) -> Result<(), Error>; fn echo_arrays( &self, value: ArraysStruct, forward_to_server: &str, ) -> Self::EchoArraysResponseFut; fn echo_arrays_with_error( &self, value: ArraysStruct, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoArraysWithErrorResponseFut; fn echo_vectors( &self, value: VectorsStruct, forward_to_server: &str, ) -> Self::EchoVectorsResponseFut; fn echo_vectors_with_error( &self, value: VectorsStruct, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoVectorsWithErrorResponseFut; fn echo_table( &self, value: AllTypesTable, forward_to_server: &str, ) -> Self::EchoTableResponseFut; fn echo_table_with_error( &self, value: AllTypesTable, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoTableWithErrorResponseFut; fn echo_xunions( &self, value: Vec<AllTypesXunion>, forward_to_server: &str, ) -> Self::EchoXunionsResponseFut; fn echo_xunions_with_error( &self, value: Vec<AllTypesXunion>, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoXunionsWithErrorResponseFut; fn echo_named_struct( &self, value: &SimpleStruct, forward_to_server: &str, ) -> Self::EchoNamedStructResponseFut; fn echo_named_struct_with_error( &self, value: &SimpleStruct, result_err: u32, forward_to_server: &str, result_variant: WantResponse, ) -> Self::EchoNamedStructWithErrorResponseFut; fn echo_named_struct_no_ret_val( &self, value: &SimpleStruct, forward_to_server: &str, ) -> Result<(), Error>; fn echo_table_payload( &self, payload: &RequestTable, ) -> Self::EchoTablePayloadResponseFut; fn echo_table_payload_with_error( &self, payload: &EchoEchoTablePayloadWithErrorRequest, ) -> Self::EchoTablePayloadWithErrorResponseFut; fn echo_table_payload_no_ret_val( &self, payload: &RequestTable, ) -> Result<(), Error>; fn echo_union_payload( &self, payload: &RequestUnion, ) -> Self::EchoUnionPayloadResponseFut; fn echo_union_payload_with_error( &self, payload: &EchoEchoUnionPayloadWithErrorRequest, ) -> Self::EchoUnionPayloadWithErrorResponseFut; fn echo_union_payload_no_ret_val( &self, payload: &RequestUnion, ) -> Result<(), Error>;
}

Required Associated Types§

Source

type EchoTableRequestComposedResponseFut: Future<Output = Result<SimpleStruct, Error>> + Send

Source

type EchoUnionResponseWithErrorComposedResponseFut: Future<Output = Result<ComposedEchoUnionResponseWithErrorComposedResult, Error>> + Send

Source

type EchoMinimalResponseFut: Future<Output = Result<(), Error>> + Send

Source

type EchoMinimalWithErrorResponseFut: Future<Output = Result<EchoEchoMinimalWithErrorResult, Error>> + Send

Source

type EchoStructResponseFut: Future<Output = Result<Struct, Error>> + Send

Source

type EchoStructWithErrorResponseFut: Future<Output = Result<EchoEchoStructWithErrorResult, Error>> + Send

Source

type EchoArraysResponseFut: Future<Output = Result<ArraysStruct, Error>> + Send

Source

type EchoArraysWithErrorResponseFut: Future<Output = Result<EchoEchoArraysWithErrorResult, Error>> + Send

Source

type EchoVectorsResponseFut: Future<Output = Result<VectorsStruct, Error>> + Send

Source

type EchoVectorsWithErrorResponseFut: Future<Output = Result<EchoEchoVectorsWithErrorResult, Error>> + Send

Source

type EchoTableResponseFut: Future<Output = Result<AllTypesTable, Error>> + Send

Source

type EchoTableWithErrorResponseFut: Future<Output = Result<EchoEchoTableWithErrorResult, Error>> + Send

Source

type EchoXunionsResponseFut: Future<Output = Result<Vec<AllTypesXunion>, Error>> + Send

Source

type EchoXunionsWithErrorResponseFut: Future<Output = Result<EchoEchoXunionsWithErrorResult, Error>> + Send

Source

type EchoNamedStructResponseFut: Future<Output = Result<SimpleStruct, Error>> + Send

Source

type EchoNamedStructWithErrorResponseFut: Future<Output = Result<EchoEchoNamedStructWithErrorResult, Error>> + Send

Source

type EchoTablePayloadResponseFut: Future<Output = Result<ResponseTable, Error>> + Send

Source

type EchoTablePayloadWithErrorResponseFut: Future<Output = Result<EchoEchoTablePayloadWithErrorResult, Error>> + Send

Source

type EchoUnionPayloadResponseFut: Future<Output = Result<ResponseUnion, Error>> + Send

Source

type EchoUnionPayloadWithErrorResponseFut: Future<Output = Result<EchoEchoUnionPayloadWithErrorResult, Error>> + Send

Required Methods§

Source

fn echo_table_request_composed( &self, payload: &ComposedEchoTableRequestComposedRequest, ) -> Self::EchoTableRequestComposedResponseFut

Source

fn echo_union_response_with_error_composed( &self, value: i64, want_absolute_value: bool, forward_to_server: &str, result_err: u32, result_variant: WantResponse, ) -> Self::EchoUnionResponseWithErrorComposedResponseFut

Source

fn echo_minimal(&self, forward_to_server: &str) -> Self::EchoMinimalResponseFut

Source

fn echo_minimal_with_error( &self, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoMinimalWithErrorResponseFut

Source

fn echo_minimal_no_ret_val(&self, forward_to_server: &str) -> Result<(), Error>

Source

fn echo_struct( &self, value: Struct, forward_to_server: &str, ) -> Self::EchoStructResponseFut

Source

fn echo_struct_with_error( &self, value: Struct, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoStructWithErrorResponseFut

Source

fn echo_struct_no_ret_val( &self, value: Struct, forward_to_server: &str, ) -> Result<(), Error>

Source

fn echo_arrays( &self, value: ArraysStruct, forward_to_server: &str, ) -> Self::EchoArraysResponseFut

Source

fn echo_arrays_with_error( &self, value: ArraysStruct, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoArraysWithErrorResponseFut

Source

fn echo_vectors( &self, value: VectorsStruct, forward_to_server: &str, ) -> Self::EchoVectorsResponseFut

Source

fn echo_vectors_with_error( &self, value: VectorsStruct, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoVectorsWithErrorResponseFut

Source

fn echo_table( &self, value: AllTypesTable, forward_to_server: &str, ) -> Self::EchoTableResponseFut

Source

fn echo_table_with_error( &self, value: AllTypesTable, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoTableWithErrorResponseFut

Source

fn echo_xunions( &self, value: Vec<AllTypesXunion>, forward_to_server: &str, ) -> Self::EchoXunionsResponseFut

Source

fn echo_xunions_with_error( &self, value: Vec<AllTypesXunion>, result_err: DefaultEnum, forward_to_server: &str, result_variant: RespondWith, ) -> Self::EchoXunionsWithErrorResponseFut

Source

fn echo_named_struct( &self, value: &SimpleStruct, forward_to_server: &str, ) -> Self::EchoNamedStructResponseFut

Source

fn echo_named_struct_with_error( &self, value: &SimpleStruct, result_err: u32, forward_to_server: &str, result_variant: WantResponse, ) -> Self::EchoNamedStructWithErrorResponseFut

Source

fn echo_named_struct_no_ret_val( &self, value: &SimpleStruct, forward_to_server: &str, ) -> Result<(), Error>

Source

fn echo_table_payload( &self, payload: &RequestTable, ) -> Self::EchoTablePayloadResponseFut

Source

fn echo_table_payload_with_error( &self, payload: &EchoEchoTablePayloadWithErrorRequest, ) -> Self::EchoTablePayloadWithErrorResponseFut

Source

fn echo_table_payload_no_ret_val( &self, payload: &RequestTable, ) -> Result<(), Error>

Source

fn echo_union_payload( &self, payload: &RequestUnion, ) -> Self::EchoUnionPayloadResponseFut

Source

fn echo_union_payload_with_error( &self, payload: &EchoEchoUnionPayloadWithErrorRequest, ) -> Self::EchoUnionPayloadWithErrorResponseFut

Source

fn echo_union_payload_no_ret_val( &self, payload: &RequestUnion, ) -> Result<(), Error>

Implementors§

Source§

impl EchoProxyInterface for EchoProxy

Source§

type EchoTableRequestComposedResponseFut = QueryResponseFut<SimpleStruct>

Source§

type EchoUnionResponseWithErrorComposedResponseFut = QueryResponseFut<Result<ComposedEchoUnionResponseWithErrorComposedResponse, u32>>

Source§

type EchoMinimalResponseFut = QueryResponseFut<()>

Source§

type EchoMinimalWithErrorResponseFut = QueryResponseFut<Result<(), u32>>

Source§

type EchoStructResponseFut = QueryResponseFut<Struct>

Source§

type EchoStructWithErrorResponseFut = QueryResponseFut<Result<Struct, DefaultEnum>>

Source§

type EchoArraysResponseFut = QueryResponseFut<ArraysStruct>

Source§

type EchoArraysWithErrorResponseFut = QueryResponseFut<Result<ArraysStruct, DefaultEnum>>

Source§

type EchoVectorsResponseFut = QueryResponseFut<VectorsStruct>

Source§

type EchoVectorsWithErrorResponseFut = QueryResponseFut<Result<VectorsStruct, DefaultEnum>>

Source§

type EchoTableResponseFut = QueryResponseFut<AllTypesTable>

Source§

type EchoTableWithErrorResponseFut = QueryResponseFut<Result<AllTypesTable, DefaultEnum>>

Source§

type EchoXunionsResponseFut = QueryResponseFut<Vec<AllTypesXunion>>

Source§

type EchoXunionsWithErrorResponseFut = QueryResponseFut<Result<Vec<AllTypesXunion>, DefaultEnum>>

Source§

type EchoNamedStructResponseFut = QueryResponseFut<SimpleStruct>

Source§

type EchoNamedStructWithErrorResponseFut = QueryResponseFut<Result<SimpleStruct, u32>>

Source§

type EchoTablePayloadResponseFut = QueryResponseFut<ResponseTable>

Source§

type EchoTablePayloadWithErrorResponseFut = QueryResponseFut<Result<ResponseTable, DefaultEnum>>

Source§

type EchoUnionPayloadResponseFut = QueryResponseFut<ResponseUnion>

Source§

type EchoUnionPayloadWithErrorResponseFut = QueryResponseFut<Result<ResponseUnion, DefaultEnum>>