pub struct IrqVectorRegistration<'a> { /* private fields */ }Expand description
An allocation of PCI interrupt vectors for a device.
This type owns the vector allocation; dropping it frees the vectors. IRQ handlers borrow from this registration and must be dropped before it is.
§Invariants
dev has an allocation of len interrupt vectors.
Implementations§
Source§impl<'a> IrqVectorRegistration<'a>
impl<'a> IrqVectorRegistration<'a>
Trait Implementations§
Source§impl Drop for IrqVectorRegistration<'_>
impl Drop for IrqVectorRegistration<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for IrqVectorRegistration<'a>
impl<'a> !UnwindSafe for IrqVectorRegistration<'a>
impl<'a> Freeze for IrqVectorRegistration<'a>
impl<'a> Send for IrqVectorRegistration<'a>
impl<'a> Sync for IrqVectorRegistration<'a>
impl<'a> Unpin for IrqVectorRegistration<'a>
impl<'a> UnsafeUnpin for IrqVectorRegistration<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.