#[repr(C)]pub struct Epitaph {
pub error: Int32,
}Expand description
A FIDL protocol epitaph.
Fields§
§error: Int32The error status.
Implementations§
Trait Implementations§
Source§impl Constrained for Epitaph
impl Constrained for Epitaph
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, Self>,
_: Self::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, Self>, _: Self::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl<E: ?Sized> Encode<Epitaph, E> for &Epitaph
impl<E: ?Sized> Encode<Epitaph, E> for &Epitaph
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<Epitaph>,
constraint: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<Epitaph>, constraint: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<E: ?Sized> Encode<Epitaph, E> for Epitaph
impl<E: ?Sized> Encode<Epitaph, E> for Epitaph
Source§fn encode(
self,
_: &mut E,
out: &mut MaybeUninit<Epitaph>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, _: &mut E, out: &mut MaybeUninit<Epitaph>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl Wire for Epitaph
impl Wire for Epitaph
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for Epitaph
impl IntoBytes for Epitaph
Auto Trait Implementations§
impl Freeze for Epitaph
impl RefUnwindSafe for Epitaph
impl Send for Epitaph
impl Sync for Epitaph
impl Unpin for Epitaph
impl UnsafeUnpin for Epitaph
impl UnwindSafe for Epitaph
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