Struct dbs_interrupt::NoopNotifier
source · pub struct NoopNotifier {}
Expand description
Struct to discard interrupts.
Implementations
sourceimpl NoopNotifier
impl NoopNotifier
Trait Implementations
sourceimpl Clone for NoopNotifier
impl Clone for NoopNotifier
sourcefn clone(&self) -> NoopNotifier
fn clone(&self) -> NoopNotifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NoopNotifier
impl Debug for NoopNotifier
sourceimpl Default for NoopNotifier
impl Default for NoopNotifier
sourcefn default() -> NoopNotifier
fn default() -> NoopNotifier
Returns the “default value” for a type. Read more
sourceimpl InterruptNotifier for NoopNotifier
impl InterruptNotifier for NoopNotifier
sourcefn notifier(&self) -> Option<&EventFd>
fn notifier(&self) -> Option<&EventFd>
Get the optional
EventFd
object to inject interrupt to the virtual machine.sourcefn clone_boxed(&self) -> Box<dyn InterruptNotifier>
fn clone_boxed(&self) -> Box<dyn InterruptNotifier>
Clone a boxed dyn trait object.
impl Copy for NoopNotifier
Auto Trait Implementations
impl RefUnwindSafe for NoopNotifier
impl Send for NoopNotifier
impl Sync for NoopNotifier
impl Unpin for NoopNotifier
impl UnwindSafe for NoopNotifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more