pub struct LegacyNotifier { /* private fields */ }
Expand description
Struct to inject legacy interrupt to guest.
Implementations§
Source§impl LegacyNotifier
impl LegacyNotifier
Sourcepub fn new(
intr_group: Arc<Box<dyn InterruptSourceGroup>>,
intr_status: Arc<InterruptStatusRegister32>,
status_bits: u32,
) -> Self
pub fn new( intr_group: Arc<Box<dyn InterruptSourceGroup>>, intr_status: Arc<InterruptStatusRegister32>, status_bits: u32, ) -> Self
Create a legacy notifier.
Trait Implementations§
Source§impl Clone for LegacyNotifier
impl Clone for LegacyNotifier
Source§fn clone(&self) -> LegacyNotifier
fn clone(&self) -> LegacyNotifier
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl InterruptNotifier for LegacyNotifier
impl InterruptNotifier for LegacyNotifier
Source§fn notifier(&self) -> Option<&EventFd>
fn notifier(&self) -> Option<&EventFd>
Get the optional
EventFd
object to inject interrupt to the virtual machine.Source§fn clone_boxed(&self) -> Box<dyn InterruptNotifier>
fn clone_boxed(&self) -> Box<dyn InterruptNotifier>
Clone a boxed dyn trait object.
Auto Trait Implementations§
impl Freeze for LegacyNotifier
impl !RefUnwindSafe for LegacyNotifier
impl Send for LegacyNotifier
impl Sync for LegacyNotifier
impl Unpin for LegacyNotifier
impl !UnwindSafe for LegacyNotifier
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