Struct fuchsia_zircon::Packet
[−]
[src]
pub struct Packet(_);
A packet sent through a port. This is a type-safe wrapper for zx_port_packet_t.
Methods
impl Packet
[src]
fn from_user_packet(key: u64, status: i32, user: UserPacket) -> Packet
[src]
Creates a new packet with UserPacket
data.
fn key(&self) -> u64
[src]
The packet's key.
fn status(&self) -> i32
[src]
The packet's status.
fn contents(&self) -> PacketContents
[src]
The contents of the packet.
Trait Implementations
impl PartialEq for Packet
[src]
fn eq(&self, __arg_0: &Packet) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Packet) -> bool
[src]
This method tests for !=
.