pub struct IrqNotification {
pub bit: u4,
pub conn: CID,
pub opcode: usize,
pub args: [usize; 4],
}Expand description
Structure for recording message formats to be passed from interrupt handlers back to userspace. A specific handler may or may not use any or all of the arguments: this simply provides storage for all the possible arguments.
Fields§
§bit: u4Specifies the bit position of the event in the irq bank
conn: CIDConnection to send notifications to
opcode: usizeOpcode argument for the notification
args: [usize; 4]Up to four arguments to be passed on
Trait Implementations§
Source§impl Clone for IrqNotification
impl Clone for IrqNotification
Source§fn clone(&self) -> IrqNotification
fn clone(&self) -> IrqNotification
Returns a duplicate 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 moreimpl Copy for IrqNotification
Auto Trait Implementations§
impl Freeze for IrqNotification
impl RefUnwindSafe for IrqNotification
impl Send for IrqNotification
impl Sync for IrqNotification
impl Unpin for IrqNotification
impl UnwindSafe for IrqNotification
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