pub enum EchoRequest {
Show 25 variants
EchoTableRequestComposed {
payload: ComposedEchoTableRequestComposedRequest,
responder: EchoEchoTableRequestComposedResponder,
},
EchoUnionResponseWithErrorComposed {
value: i64,
want_absolute_value: bool,
forward_to_server: String,
result_err: u32,
result_variant: WantResponse,
responder: EchoEchoUnionResponseWithErrorComposedResponder,
},
EchoMinimal {
forward_to_server: String,
responder: EchoEchoMinimalResponder,
},
EchoMinimalWithError {
forward_to_server: String,
result_variant: RespondWith,
responder: EchoEchoMinimalWithErrorResponder,
},
EchoMinimalNoRetVal {
forward_to_server: String,
control_handle: EchoControlHandle,
},
EchoStruct {
value: Struct,
forward_to_server: String,
responder: EchoEchoStructResponder,
},
EchoStructWithError {
value: Struct,
result_err: DefaultEnum,
forward_to_server: String,
result_variant: RespondWith,
responder: EchoEchoStructWithErrorResponder,
},
EchoStructNoRetVal {
value: Struct,
forward_to_server: String,
control_handle: EchoControlHandle,
},
EchoArrays {
value: ArraysStruct,
forward_to_server: String,
responder: EchoEchoArraysResponder,
},
EchoArraysWithError {
value: ArraysStruct,
result_err: DefaultEnum,
forward_to_server: String,
result_variant: RespondWith,
responder: EchoEchoArraysWithErrorResponder,
},
EchoVectors {
value: VectorsStruct,
forward_to_server: String,
responder: EchoEchoVectorsResponder,
},
EchoVectorsWithError {
value: VectorsStruct,
result_err: DefaultEnum,
forward_to_server: String,
result_variant: RespondWith,
responder: EchoEchoVectorsWithErrorResponder,
},
EchoTable {
value: AllTypesTable,
forward_to_server: String,
responder: EchoEchoTableResponder,
},
EchoTableWithError {
value: AllTypesTable,
result_err: DefaultEnum,
forward_to_server: String,
result_variant: RespondWith,
responder: EchoEchoTableWithErrorResponder,
},
EchoXunions {
value: Vec<AllTypesXunion>,
forward_to_server: String,
responder: EchoEchoXunionsResponder,
},
EchoXunionsWithError {
value: Vec<AllTypesXunion>,
result_err: DefaultEnum,
forward_to_server: String,
result_variant: RespondWith,
responder: EchoEchoXunionsWithErrorResponder,
},
EchoNamedStruct {
value: SimpleStruct,
forward_to_server: String,
responder: EchoEchoNamedStructResponder,
},
EchoNamedStructWithError {
value: SimpleStruct,
result_err: u32,
forward_to_server: String,
result_variant: WantResponse,
responder: EchoEchoNamedStructWithErrorResponder,
},
EchoNamedStructNoRetVal {
value: SimpleStruct,
forward_to_server: String,
control_handle: EchoControlHandle,
},
EchoTablePayload {
payload: RequestTable,
responder: EchoEchoTablePayloadResponder,
},
EchoTablePayloadWithError {
payload: EchoEchoTablePayloadWithErrorRequest,
responder: EchoEchoTablePayloadWithErrorResponder,
},
EchoTablePayloadNoRetVal {
payload: RequestTable,
control_handle: EchoControlHandle,
},
EchoUnionPayload {
payload: RequestUnion,
responder: EchoEchoUnionPayloadResponder,
},
EchoUnionPayloadWithError {
payload: EchoEchoUnionPayloadWithErrorRequest,
responder: EchoEchoUnionPayloadWithErrorResponder,
},
EchoUnionPayloadNoRetVal {
payload: RequestUnion,
control_handle: EchoControlHandle,
},
}
Variants§
EchoTableRequestComposed
Fields
§
responder: EchoEchoTableRequestComposedResponder
EchoUnionResponseWithErrorComposed
Fields
§
result_variant: WantResponse
EchoMinimal
EchoMinimalWithError
EchoMinimalNoRetVal
EchoStruct
EchoStructWithError
Fields
§
result_err: DefaultEnum
§
result_variant: RespondWith
§
responder: EchoEchoStructWithErrorResponder
EchoStructNoRetVal
EchoArrays
EchoArraysWithError
Fields
§
value: ArraysStruct
§
result_err: DefaultEnum
§
result_variant: RespondWith
§
responder: EchoEchoArraysWithErrorResponder
EchoVectors
EchoVectorsWithError
Fields
§
value: VectorsStruct
§
result_err: DefaultEnum
§
result_variant: RespondWith
§
responder: EchoEchoVectorsWithErrorResponder
EchoTable
EchoTableWithError
Fields
§
value: AllTypesTable
§
result_err: DefaultEnum
§
result_variant: RespondWith
§
responder: EchoEchoTableWithErrorResponder
EchoXunions
EchoXunionsWithError
Fields
§
value: Vec<AllTypesXunion>
§
result_err: DefaultEnum
§
result_variant: RespondWith
§
responder: EchoEchoXunionsWithErrorResponder
EchoNamedStruct
EchoNamedStructWithError
Fields
§
value: SimpleStruct
§
result_variant: WantResponse
§
responder: EchoEchoNamedStructWithErrorResponder
EchoNamedStructNoRetVal
EchoTablePayload
EchoTablePayloadWithError
Fields
§
responder: EchoEchoTablePayloadWithErrorResponder
EchoTablePayloadNoRetVal
EchoUnionPayload
EchoUnionPayloadWithError
Fields
§
responder: EchoEchoUnionPayloadWithErrorResponder
EchoUnionPayloadNoRetVal
Implementations§
Source§impl EchoRequest
impl EchoRequest
pub fn into_echo_table_request_composed( self, ) -> Option<(ComposedEchoTableRequestComposedRequest, EchoEchoTableRequestComposedResponder)>
pub fn into_echo_union_response_with_error_composed( self, ) -> Option<(i64, bool, String, u32, WantResponse, EchoEchoUnionResponseWithErrorComposedResponder)>
pub fn into_echo_minimal(self) -> Option<(String, EchoEchoMinimalResponder)>
pub fn into_echo_minimal_with_error( self, ) -> Option<(String, RespondWith, EchoEchoMinimalWithErrorResponder)>
pub fn into_echo_minimal_no_ret_val(self) -> Option<(String, EchoControlHandle)>
pub fn into_echo_struct( self, ) -> Option<(Struct, String, EchoEchoStructResponder)>
pub fn into_echo_struct_with_error( self, ) -> Option<(Struct, DefaultEnum, String, RespondWith, EchoEchoStructWithErrorResponder)>
pub fn into_echo_struct_no_ret_val( self, ) -> Option<(Struct, String, EchoControlHandle)>
pub fn into_echo_arrays( self, ) -> Option<(ArraysStruct, String, EchoEchoArraysResponder)>
pub fn into_echo_arrays_with_error( self, ) -> Option<(ArraysStruct, DefaultEnum, String, RespondWith, EchoEchoArraysWithErrorResponder)>
pub fn into_echo_vectors( self, ) -> Option<(VectorsStruct, String, EchoEchoVectorsResponder)>
pub fn into_echo_vectors_with_error( self, ) -> Option<(VectorsStruct, DefaultEnum, String, RespondWith, EchoEchoVectorsWithErrorResponder)>
pub fn into_echo_table( self, ) -> Option<(AllTypesTable, String, EchoEchoTableResponder)>
pub fn into_echo_table_with_error( self, ) -> Option<(AllTypesTable, DefaultEnum, String, RespondWith, EchoEchoTableWithErrorResponder)>
pub fn into_echo_xunions( self, ) -> Option<(Vec<AllTypesXunion>, String, EchoEchoXunionsResponder)>
pub fn into_echo_xunions_with_error( self, ) -> Option<(Vec<AllTypesXunion>, DefaultEnum, String, RespondWith, EchoEchoXunionsWithErrorResponder)>
pub fn into_echo_named_struct( self, ) -> Option<(SimpleStruct, String, EchoEchoNamedStructResponder)>
pub fn into_echo_named_struct_with_error( self, ) -> Option<(SimpleStruct, u32, String, WantResponse, EchoEchoNamedStructWithErrorResponder)>
pub fn into_echo_named_struct_no_ret_val( self, ) -> Option<(SimpleStruct, String, EchoControlHandle)>
pub fn into_echo_table_payload( self, ) -> Option<(RequestTable, EchoEchoTablePayloadResponder)>
pub fn into_echo_table_payload_with_error( self, ) -> Option<(EchoEchoTablePayloadWithErrorRequest, EchoEchoTablePayloadWithErrorResponder)>
pub fn into_echo_table_payload_no_ret_val( self, ) -> Option<(RequestTable, EchoControlHandle)>
pub fn into_echo_union_payload( self, ) -> Option<(RequestUnion, EchoEchoUnionPayloadResponder)>
pub fn into_echo_union_payload_with_error( self, ) -> Option<(EchoEchoUnionPayloadWithErrorRequest, EchoEchoUnionPayloadWithErrorResponder)>
pub fn into_echo_union_payload_no_ret_val( self, ) -> Option<(RequestUnion, EchoControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EchoRequest
impl !RefUnwindSafe for EchoRequest
impl Send for EchoRequest
impl Sync for EchoRequest
impl Unpin for EchoRequest
impl !UnwindSafe for EchoRequest
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