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
pub fn timestamp(&self) -> zx_time_t
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§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
)