Struct FlatlandOnErrorRequest
pub struct FlatlandOnErrorRequest {
pub error: FlatlandError,
}
Fields§
§error: FlatlandError
Trait Implementations§
§impl Clone for FlatlandOnErrorRequest
impl Clone for FlatlandOnErrorRequest
§fn clone(&self) -> FlatlandOnErrorRequest
fn clone(&self) -> FlatlandOnErrorRequest
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 more§impl Debug for FlatlandOnErrorRequest
impl Debug for FlatlandOnErrorRequest
§impl<D> Decode<FlatlandOnErrorRequest, D> for FlatlandOnErrorRequestwhere
D: ResourceDialect,
impl<D> Decode<FlatlandOnErrorRequest, D> for FlatlandOnErrorRequestwhere
D: ResourceDialect,
§fn new_empty() -> FlatlandOnErrorRequest
fn new_empty() -> FlatlandOnErrorRequest
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<FlatlandOnErrorRequest, D> for &FlatlandOnErrorRequestwhere
D: ResourceDialect,
impl<D> Encode<FlatlandOnErrorRequest, D> for &FlatlandOnErrorRequestwhere
D: ResourceDialect,
§impl Hash for FlatlandOnErrorRequest
impl Hash for FlatlandOnErrorRequest
§impl Ord for FlatlandOnErrorRequest
impl Ord for FlatlandOnErrorRequest
§fn cmp(&self, other: &FlatlandOnErrorRequest) -> Ordering
fn cmp(&self, other: &FlatlandOnErrorRequest) -> 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
§impl PartialEq for FlatlandOnErrorRequest
impl PartialEq for FlatlandOnErrorRequest
§impl PartialOrd for FlatlandOnErrorRequest
impl PartialOrd for FlatlandOnErrorRequest
§impl TypeMarker for FlatlandOnErrorRequest
impl TypeMarker for FlatlandOnErrorRequest
§type Owned = FlatlandOnErrorRequest
type Owned = FlatlandOnErrorRequest
The owned Rust type which this FIDL type decodes into.
§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.
§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
.§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 more§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.§impl ValueTypeMarker for FlatlandOnErrorRequest
impl ValueTypeMarker for FlatlandOnErrorRequest
§type Borrowed<'a> = &'a FlatlandOnErrorRequest
type Borrowed<'a> = &'a FlatlandOnErrorRequest
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§fn borrow(
value: &<FlatlandOnErrorRequest as TypeMarker>::Owned,
) -> <FlatlandOnErrorRequest as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<FlatlandOnErrorRequest as TypeMarker>::Owned, ) -> <FlatlandOnErrorRequest as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Copy for FlatlandOnErrorRequest
impl Eq for FlatlandOnErrorRequest
impl Persistable for FlatlandOnErrorRequest
impl StructuralPartialEq for FlatlandOnErrorRequest
Auto Trait Implementations§
impl Freeze for FlatlandOnErrorRequest
impl RefUnwindSafe for FlatlandOnErrorRequest
impl Send for FlatlandOnErrorRequest
impl Sync for FlatlandOnErrorRequest
impl Unpin for FlatlandOnErrorRequest
impl UnwindSafe for FlatlandOnErrorRequest
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§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