Struct zx::SignalPacket
source · pub struct SignalPacket(/* private fields */);
Expand description
Contents of a signal packet (one generated by the kernel). This is a type-safe wrapper for zx_packet_signal_t.
Implementations§
source§impl SignalPacket
impl SignalPacket
sourcepub fn raw_packet(&self) -> &zx_packet_signal_t
pub fn raw_packet(&self) -> &zx_packet_signal_t
Get a reference to the raw underlying packet.
Trait Implementations§
source§impl Clone for SignalPacket
impl Clone for SignalPacket
source§fn clone(&self) -> SignalPacket
fn clone(&self) -> SignalPacket
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 SignalPacket
impl Debug for SignalPacket
impl Copy for SignalPacket
Auto Trait Implementations§
impl Freeze for SignalPacket
impl RefUnwindSafe for SignalPacket
impl Send for SignalPacket
impl Sync for SignalPacket
impl Unpin for SignalPacket
impl UnwindSafe for SignalPacket
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)