Struct zircon_object::ipc::MessagePacket[][src]

pub struct MessagePacket {
    pub data: Vec<u8>,
    pub handles: Vec<Handle>,
}

The message transferred in the channel. See Channel for details.

Fields

data: Vec<u8>

The data carried by the message packet

handles: Vec<Handle>

See Channel for details.

Implementations

impl MessagePacket[src]

pub fn set_txid(&mut self, txid: u32)[src]

Set txid (the first 4 bytes)

pub fn get_txid(&self) -> u32[src]

Get txid (the first 4 bytes)

Trait Implementations

impl Debug for MessagePacket[src]

impl Default for MessagePacket[src]

Auto Trait Implementations

impl !RefUnwindSafe for MessagePacket

impl Send for MessagePacket

impl Sync for MessagePacket

impl Unpin for MessagePacket

impl !UnwindSafe for MessagePacket

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.