pub struct ErrorableRequestStruct {
pub value: SimpleStruct,
pub result_err: u32,
pub forward_to_server: String,
pub result_variant: WantResponse,
}
Fields§
§value: SimpleStruct
§result_err: u32
§forward_to_server: String
§result_variant: WantResponse
Trait Implementations§
source§impl Clone for ErrorableRequestStruct
impl Clone for ErrorableRequestStruct
source§fn clone(&self) -> ErrorableRequestStruct
fn clone(&self) -> ErrorableRequestStruct
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 ErrorableRequestStruct
impl Debug for ErrorableRequestStruct
source§impl Decode<ErrorableRequestStruct> for ErrorableRequestStruct
impl Decode<ErrorableRequestStruct> for ErrorableRequestStruct
source§impl<T0: Encode<SimpleStruct>, T1: Encode<u32>, T2: Encode<UnboundedString>, T3: Encode<WantResponse>> Encode<ErrorableRequestStruct> for (T0, T1, T2, T3)
impl<T0: Encode<SimpleStruct>, T1: Encode<u32>, T2: Encode<UnboundedString>, T3: Encode<WantResponse>> Encode<ErrorableRequestStruct> for (T0, T1, T2, T3)
source§impl Hash for ErrorableRequestStruct
impl Hash for ErrorableRequestStruct
source§impl Ord for ErrorableRequestStruct
impl Ord for ErrorableRequestStruct
source§fn cmp(&self, other: &ErrorableRequestStruct) -> Ordering
fn cmp(&self, other: &ErrorableRequestStruct) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ErrorableRequestStruct> for ErrorableRequestStruct
impl PartialEq<ErrorableRequestStruct> for ErrorableRequestStruct
source§fn eq(&self, other: &ErrorableRequestStruct) -> bool
fn eq(&self, other: &ErrorableRequestStruct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ErrorableRequestStruct> for ErrorableRequestStruct
impl PartialOrd<ErrorableRequestStruct> for ErrorableRequestStruct
source§fn partial_cmp(&self, other: &ErrorableRequestStruct) -> Option<Ordering>
fn partial_cmp(&self, other: &ErrorableRequestStruct) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for ErrorableRequestStruct
impl TypeMarker for ErrorableRequestStruct
§type Owned = ErrorableRequestStruct
type Owned = ErrorableRequestStruct
The owned Rust type which this FIDL type decodes into.
source§fn inline_align(context: Context) -> usize
fn inline_align(context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(context: Context) -> usize
fn inline_size(context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moresource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for ErrorableRequestStruct
impl ValueTypeMarker for ErrorableRequestStruct
§type Borrowed<'a> = &'a <ErrorableRequestStruct as TypeMarker>::Owned
type Borrowed<'a> = &'a <ErrorableRequestStruct as TypeMarker>::Owned
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more