pub struct ReceiverConfig {Show 20 fields
pub my_flag: bool,
pub my_int16: i16,
pub my_int32: i32,
pub my_int64: i64,
pub my_int8: i8,
pub my_string: String,
pub my_uint16: u16,
pub my_uint32: u32,
pub my_uint64: u64,
pub my_uint8: u8,
pub my_vector_of_flag: Vec<bool>,
pub my_vector_of_int16: Vec<i16>,
pub my_vector_of_int32: Vec<i32>,
pub my_vector_of_int64: Vec<i64>,
pub my_vector_of_int8: Vec<i8>,
pub my_vector_of_string: Vec<String>,
pub my_vector_of_uint16: Vec<u16>,
pub my_vector_of_uint32: Vec<u32>,
pub my_vector_of_uint64: Vec<u64>,
pub my_vector_of_uint8: Vec<u8>,
}
Fields§
§my_flag: bool
§my_int16: i16
§my_int32: i32
§my_int64: i64
§my_int8: i8
§my_string: String
§my_uint16: u16
§my_uint32: u32
§my_uint64: u64
§my_uint8: u8
§my_vector_of_flag: Vec<bool>
§my_vector_of_int16: Vec<i16>
§my_vector_of_int32: Vec<i32>
§my_vector_of_int64: Vec<i64>
§my_vector_of_int8: Vec<i8>
§my_vector_of_string: Vec<String>
§my_vector_of_uint16: Vec<u16>
§my_vector_of_uint32: Vec<u32>
§my_vector_of_uint64: Vec<u64>
§my_vector_of_uint8: Vec<u8>
Trait Implementations§
Source§impl Clone for ReceiverConfig
impl Clone for ReceiverConfig
Source§fn clone(&self) -> ReceiverConfig
fn clone(&self) -> ReceiverConfig
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 ReceiverConfig
impl Debug for ReceiverConfig
Source§impl<D: ResourceDialect> Decode<ReceiverConfig, D> for ReceiverConfig
impl<D: ResourceDialect> Decode<ReceiverConfig, D> for ReceiverConfig
Source§impl<D: ResourceDialect> Encode<ReceiverConfig, D> for &ReceiverConfig
impl<D: ResourceDialect> Encode<ReceiverConfig, D> for &ReceiverConfig
Source§impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<i16, D>, T2: Encode<i32, D>, T3: Encode<i64, D>, T4: Encode<i8, D>, T5: Encode<BoundedString<100>, D>, T6: Encode<u16, D>, T7: Encode<u32, D>, T8: Encode<u64, D>, T9: Encode<u8, D>, T10: Encode<Vector<bool, 100>, D>, T11: Encode<Vector<i16, 100>, D>, T12: Encode<Vector<i32, 100>, D>, T13: Encode<Vector<i64, 100>, D>, T14: Encode<Vector<i8, 100>, D>, T15: Encode<Vector<BoundedString<100>, 100>, D>, T16: Encode<Vector<u16, 100>, D>, T17: Encode<Vector<u32, 100>, D>, T18: Encode<Vector<u64, 100>, D>, T19: Encode<Vector<u8, 100>, D>> Encode<ReceiverConfig, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<i16, D>, T2: Encode<i32, D>, T3: Encode<i64, D>, T4: Encode<i8, D>, T5: Encode<BoundedString<100>, D>, T6: Encode<u16, D>, T7: Encode<u32, D>, T8: Encode<u64, D>, T9: Encode<u8, D>, T10: Encode<Vector<bool, 100>, D>, T11: Encode<Vector<i16, 100>, D>, T12: Encode<Vector<i32, 100>, D>, T13: Encode<Vector<i64, 100>, D>, T14: Encode<Vector<i8, 100>, D>, T15: Encode<Vector<BoundedString<100>, 100>, D>, T16: Encode<Vector<u16, 100>, D>, T17: Encode<Vector<u32, 100>, D>, T18: Encode<Vector<u64, 100>, D>, T19: Encode<Vector<u8, 100>, D>> Encode<ReceiverConfig, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
Source§impl Hash for ReceiverConfig
impl Hash for ReceiverConfig
Source§impl Ord for ReceiverConfig
impl Ord for ReceiverConfig
Source§fn cmp(&self, other: &ReceiverConfig) -> Ordering
fn cmp(&self, other: &ReceiverConfig) -> 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 for ReceiverConfig
impl PartialEq for ReceiverConfig
Source§impl PartialOrd for ReceiverConfig
impl PartialOrd for ReceiverConfig
Source§impl TypeMarker for ReceiverConfig
impl TypeMarker for ReceiverConfig
Source§type Owned = ReceiverConfig
type Owned = ReceiverConfig
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 ReceiverConfig
impl ValueTypeMarker for ReceiverConfig
Source§type Borrowed<'a> = &'a ReceiverConfig
type Borrowed<'a> = &'a ReceiverConfig
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Eq for ReceiverConfig
impl Persistable for ReceiverConfig
impl StructuralPartialEq for ReceiverConfig
Auto Trait Implementations§
impl Freeze for ReceiverConfig
impl RefUnwindSafe for ReceiverConfig
impl Send for ReceiverConfig
impl Sync for ReceiverConfig
impl Unpin for ReceiverConfig
impl UnwindSafe for ReceiverConfig
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)