pub struct IrqEventSource {
pub device_id: DeviceId,
pub queue_id: usize,
pub device_name: String,
}Expand description
Identification information about the source of an IrqEvent
Fields§
§device_id: DeviceId§queue_id: usize§device_name: StringImplementations§
Source§impl IrqEventSource
impl IrqEventSource
pub fn from_device(device: &dyn BusDevice) -> Self
Trait Implementations§
Source§impl Clone for IrqEventSource
impl Clone for IrqEventSource
Source§fn clone(&self) -> IrqEventSource
fn clone(&self) -> IrqEventSource
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<'de> Deserialize<'de> for IrqEventSource
impl<'de> Deserialize<'de> for IrqEventSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IrqEventSource
impl RefUnwindSafe for IrqEventSource
impl Send for IrqEventSource
impl Sync for IrqEventSource
impl Unpin for IrqEventSource
impl UnwindSafe for IrqEventSource
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