Struct dbs_interrupt::NoopNotifier
source · pub struct NoopNotifier {}
Expand description
Struct to discard interrupts.
Implementations§
source§impl NoopNotifier
impl NoopNotifier
Trait Implementations§
source§impl Clone for NoopNotifier
impl Clone for NoopNotifier
source§fn clone(&self) -> NoopNotifier
fn clone(&self) -> NoopNotifier
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 Debug for NoopNotifier
impl Debug for NoopNotifier
source§impl Default for NoopNotifier
impl Default for NoopNotifier
source§fn default() -> NoopNotifier
fn default() -> NoopNotifier
Returns the “default value” for a type. Read more
source§impl InterruptNotifier for NoopNotifier
impl InterruptNotifier for NoopNotifier
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.