#[repr(C)]pub struct WireMessageHeader {
pub txid: u32_le,
pub flags: [u8; 3],
pub magic_number: u8,
pub ordinal: u64_le,
}
Expand description
A FIDL protocol message header
Fields§
§txid: u32_le
The transaction ID of the message header
flags: [u8; 3]
Flags
magic_number: u8
Magic number
ordinal: u64_le
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<'buf> = WireMessageHeader
type Encoded<'buf> = WireMessageHeader
The wire type for the value.
Source§impl<E: ?Sized> Encode<E> for WireMessageHeader
impl<E: ?Sized> Encode<E> for WireMessageHeader
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
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
)