#[repr(C)]pub struct WireMessageHeader {
pub txid: WireU32,
pub flags: [u8; 3],
pub magic_number: u8,
pub ordinal: WireU64,
}
Expand description
A FIDL protocol message header
Fields§
§txid: WireU32
The transaction ID of the message header
flags: [u8; 3]
Flags
magic_number: u8
Magic number
ordinal: WireU64
The ordinal of the message following this header
Trait Implementations§
Source§impl Clone for WireMessageHeader
impl Clone for WireMessageHeader
Source§fn clone(&self) -> WireMessageHeader
fn clone(&self) -> WireMessageHeader
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 WireMessageHeader
impl Debug for WireMessageHeader
Source§impl<D: ?Sized> Decode<D> for WireMessageHeader
impl<D: ?Sized> Decode<D> for WireMessageHeader
Source§impl Encodable for WireMessageHeader
impl Encodable for WireMessageHeader
Source§type Encoded = WireMessageHeader
type Encoded = WireMessageHeader
The wire type for the value.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<E: ?Sized> Encode<E> for WireMessageHeader
impl<E: ?Sized> Encode<E> for WireMessageHeader
Source§impl ZeroPadding for WireMessageHeader
impl ZeroPadding for WireMessageHeader
Source§unsafe fn zero_padding(_: *mut Self)
unsafe fn zero_padding(_: *mut Self)
Writes zeroes to the padding for this type, if any. Read more
impl Copy for WireMessageHeader
impl IntoBytes for WireMessageHeader
Auto Trait Implementations§
impl Freeze for WireMessageHeader
impl RefUnwindSafe for WireMessageHeader
impl Send for WireMessageHeader
impl Sync for WireMessageHeader
impl Unpin for WireMessageHeader
impl UnwindSafe for WireMessageHeader
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