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

§

EchoUnionResponseWithErrorComposed

Fields

§value: i64
§want_absolute_value: bool
§forward_to_server: String
§result_err: u32
§result_variant: WantResponse
§

EchoMinimal

Fields

§forward_to_server: String
§

EchoMinimalWithError

Fields

§forward_to_server: String
§result_variant: RespondWith
§

EchoMinimalNoRetVal

Fields

§forward_to_server: String
§control_handle: EchoControlHandle
§

EchoStruct

Fields

§value: Struct
§forward_to_server: String
§

EchoStructWithError

Fields

§value: Struct
§result_err: DefaultEnum
§forward_to_server: String
§result_variant: RespondWith
§

EchoStructNoRetVal

Fields

§value: Struct
§forward_to_server: String
§control_handle: EchoControlHandle
§

EchoArrays

Fields

§forward_to_server: String
§

EchoArraysWithError

Fields

§result_err: DefaultEnum
§forward_to_server: String
§result_variant: RespondWith
§

EchoVectors

Fields

§forward_to_server: String
§

EchoVectorsWithError

Fields

§result_err: DefaultEnum
§forward_to_server: String
§result_variant: RespondWith
§

EchoTable

Fields

§forward_to_server: String
§

EchoTableWithError

Fields

§result_err: DefaultEnum
§forward_to_server: String
§result_variant: RespondWith
§

EchoXunions

Fields

§forward_to_server: String
§

EchoXunionsWithError

Fields

§result_err: DefaultEnum
§forward_to_server: String
§result_variant: RespondWith
§

EchoNamedStruct

Fields

§forward_to_server: String
§

EchoNamedStructWithError

Fields

§result_err: u32
§forward_to_server: String
§result_variant: WantResponse
§

EchoNamedStructNoRetVal

Fields

§forward_to_server: String
§control_handle: EchoControlHandle
§

EchoTablePayload

§

EchoTablePayloadWithError

§

EchoTablePayloadNoRetVal

Fields

§control_handle: EchoControlHandle
§

EchoUnionPayload

§

EchoUnionPayloadWithError

§

EchoUnionPayloadNoRetVal

Fields

§control_handle: EchoControlHandle

Implementations§

source§

impl EchoRequest

source

pub fn into_echo_table_request_composed( self ) -> Option<(ComposedEchoTableRequestComposedRequest, EchoEchoTableRequestComposedResponder)>

source

pub fn into_echo_union_response_with_error_composed( self ) -> Option<(i64, bool, String, u32, WantResponse, EchoEchoUnionResponseWithErrorComposedResponder)>

source

pub fn into_echo_minimal(self) -> Option<(String, EchoEchoMinimalResponder)>

source

pub fn into_echo_minimal_with_error( self ) -> Option<(String, RespondWith, EchoEchoMinimalWithErrorResponder)>

source

pub fn into_echo_minimal_no_ret_val(self) -> Option<(String, EchoControlHandle)>

source

pub fn into_echo_struct( self ) -> Option<(Struct, String, EchoEchoStructResponder)>

source

pub fn into_echo_struct_with_error( self ) -> Option<(Struct, DefaultEnum, String, RespondWith, EchoEchoStructWithErrorResponder)>

source

pub fn into_echo_struct_no_ret_val( self ) -> Option<(Struct, String, EchoControlHandle)>

source

pub fn into_echo_arrays( self ) -> Option<(ArraysStruct, String, EchoEchoArraysResponder)>

source

pub fn into_echo_arrays_with_error( self ) -> Option<(ArraysStruct, DefaultEnum, String, RespondWith, EchoEchoArraysWithErrorResponder)>

source

pub fn into_echo_vectors( self ) -> Option<(VectorsStruct, String, EchoEchoVectorsResponder)>

source

pub fn into_echo_vectors_with_error( self ) -> Option<(VectorsStruct, DefaultEnum, String, RespondWith, EchoEchoVectorsWithErrorResponder)>

source

pub fn into_echo_table( self ) -> Option<(AllTypesTable, String, EchoEchoTableResponder)>

source

pub fn into_echo_table_with_error( self ) -> Option<(AllTypesTable, DefaultEnum, String, RespondWith, EchoEchoTableWithErrorResponder)>

source

pub fn into_echo_xunions( self ) -> Option<(Vec<AllTypesXunion>, String, EchoEchoXunionsResponder)>

source

pub fn into_echo_xunions_with_error( self ) -> Option<(Vec<AllTypesXunion>, DefaultEnum, String, RespondWith, EchoEchoXunionsWithErrorResponder)>

source

pub fn into_echo_named_struct( self ) -> Option<(SimpleStruct, String, EchoEchoNamedStructResponder)>

source

pub fn into_echo_named_struct_with_error( self ) -> Option<(SimpleStruct, u32, String, WantResponse, EchoEchoNamedStructWithErrorResponder)>

source

pub fn into_echo_named_struct_no_ret_val( self ) -> Option<(SimpleStruct, String, EchoControlHandle)>

source

pub fn into_echo_table_payload( self ) -> Option<(RequestTable, EchoEchoTablePayloadResponder)>

source

pub fn into_echo_table_payload_with_error( self ) -> Option<(EchoEchoTablePayloadWithErrorRequest, EchoEchoTablePayloadWithErrorResponder)>

source

pub fn into_echo_table_payload_no_ret_val( self ) -> Option<(RequestTable, EchoControlHandle)>

source

pub fn into_echo_union_payload( self ) -> Option<(RequestUnion, EchoEchoUnionPayloadResponder)>

source

pub fn into_echo_union_payload_with_error( self ) -> Option<(EchoEchoUnionPayloadWithErrorRequest, EchoEchoUnionPayloadWithErrorResponder)>

source

pub fn into_echo_union_payload_no_ret_val( self ) -> Option<(RequestUnion, EchoControlHandle)>

source

pub fn method_name(&self) -> &'static str

Name of the method defined in FIDL

Trait Implementations§

source§

impl Debug for EchoRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> Encode<Ambiguous1> for T

source§

unsafe fn encode( self, _encoder: &mut Encoder<'_>, _offset: usize, _depth: Depth ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
source§

impl<T> Encode<Ambiguous2> for T

source§

unsafe fn encode( self, _encoder: &mut Encoder<'_>, _offset: usize, _depth: Depth ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more