#[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<'_, Epitaph>,
_: <Epitaph as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, Epitaph>, _: <Epitaph as Constrained>::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> Encode<Epitaph, E> for &Epitaphwhere
E: ?Sized,
impl<E> Encode<Epitaph, E> for &Epitaphwhere
E: ?Sized,
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> Encode<Epitaph, E> for Epitaphwhere
E: ?Sized,
impl<E> Encode<Epitaph, E> for Epitaphwhere
E: ?Sized,
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 IntoBytes for Epitaphwhere
Int32: IntoBytes,
impl IntoBytes for Epitaphwhere
Int32: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl Wire for Epitaph
impl Wire for Epitaph
Source§fn zero_padding(_: &mut MaybeUninit<Epitaph>)
fn zero_padding(_: &mut MaybeUninit<Epitaph>)
Writes zeroes to the padding for this type, if any.
impl Copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
Source§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to Self