pub struct EventBlock {
pub code: u16,
pub transaction_id: u32,
pub params: [u32; 3],
pub param_count: u8,
}Expand description
MTP asynchronous Event container (Interrupt IN).
Fields§
§code: u16Event code (see event).
transaction_id: u32Transaction ID or session ID (0xFFFF_FFFF for session-wide events).
params: [u32; 3]Up to 3 event parameters.
param_count: u8Number of valid entries in params (0..=3).
Implementations§
Trait Implementations§
Source§impl Clone for EventBlock
impl Clone for EventBlock
impl Copy for EventBlock
Source§impl Debug for EventBlock
impl Debug for EventBlock
impl Eq for EventBlock
Source§impl Format for EventBlock
impl Format for EventBlock
Source§impl PartialEq for EventBlock
impl PartialEq for EventBlock
impl StructuralPartialEq for EventBlock
Auto Trait Implementations§
impl Forget for EventBlock
impl Freeze for EventBlock
impl Move for EventBlock
impl RefUnwindSafe for EventBlock
impl Send for EventBlock
impl Sync for EventBlock
impl Unpin for EventBlock
impl UnsafeUnpin for EventBlock
impl UnwindSafe for EventBlock
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