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 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 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.
impl Copy for NoopNotifier
Auto Trait Implementations§
impl Freeze for NoopNotifier
impl RefUnwindSafe for NoopNotifier
impl Send for NoopNotifier
impl Sync for NoopNotifier
impl Unpin for NoopNotifier
impl UnwindSafe for NoopNotifier
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