#[repr(C)]pub struct MsrtReceiveEvent {
pub kind: u32,
pub value: usize,
}Expand description
C-compatible receive report.
Fields§
§kind: u32Receive kind: one of MSRT_RECEIVE_*.
value: usizePacket index, skipped byte count, needed byte count, or error kind.
Trait Implementations§
Source§impl Clone for MsrtReceiveEvent
impl Clone for MsrtReceiveEvent
Source§fn clone(&self) -> MsrtReceiveEvent
fn clone(&self) -> MsrtReceiveEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MsrtReceiveEvent
Auto Trait Implementations§
impl Freeze for MsrtReceiveEvent
impl RefUnwindSafe for MsrtReceiveEvent
impl Send for MsrtReceiveEvent
impl Sync for MsrtReceiveEvent
impl Unpin for MsrtReceiveEvent
impl UnsafeUnpin for MsrtReceiveEvent
impl UnwindSafe for MsrtReceiveEvent
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