pub struct VpciInterruptMapper(/* private fields */);
Expand description
A type-erased MapVpciInterrupt
trait object.
Implementations§
Source§impl VpciInterruptMapper
impl VpciInterruptMapper
Sourcepub fn new<T: 'static + MapVpciInterrupt>(mapper: Arc<T>) -> Self
pub fn new<T: 'static + MapVpciInterrupt>(mapper: Arc<T>) -> Self
Creates a new instance from mapper
.
Trait Implementations§
Source§impl Clone for VpciInterruptMapper
impl Clone for VpciInterruptMapper
Source§fn clone(&self) -> VpciInterruptMapper
fn clone(&self) -> VpciInterruptMapper
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 MapVpciInterrupt for VpciInterruptMapper
impl MapVpciInterrupt for VpciInterruptMapper
async fn register_interrupt( &self, vector_count: u32, params: &VpciInterruptParameters<'_>, ) -> Result<MsiAddressData, RegisterInterruptError>
async fn unregister_interrupt(&self, address: u64, data: u32)
Auto Trait Implementations§
impl Freeze for VpciInterruptMapper
impl !RefUnwindSafe for VpciInterruptMapper
impl Send for VpciInterruptMapper
impl Sync for VpciInterruptMapper
impl Unpin for VpciInterruptMapper
impl !UnwindSafe for VpciInterruptMapper
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