pub struct QueueNotification { /* private fields */ }Expand description
Queue notification result whose activity permit remains alive until the endpoint has published or deliberately suppressed the completion interrupt.
Implementations§
Source§impl QueueNotification
impl QueueNotification
Sourcepub const fn outcome(&self) -> QueueNotifyOutcome
pub const fn outcome(&self) -> QueueNotifyOutcome
Returns the device-core result.
Sourcepub const fn requires_interrupt_publication(&self) -> bool
pub const fn requires_interrupt_publication(&self) -> bool
Returns whether publishing this notification requires an endpoint IRQ transition permit.
Sourcepub const fn generation(&self) -> Option<VirtioQueueGeneration>
pub const fn generation(&self) -> Option<VirtioQueueGeneration>
Returns the queue configuration generation covered by this terminal notification, if processing was admitted.
Sourcepub fn publish<F>(self, publish_transition: F) -> DeviceResult
pub fn publish<F>(self, publish_transition: F) -> DeviceResult
Publishes the completion ISR and line transition after endpoint IRQ admission, then releases queue activity.
Sourcepub fn into_interrupt_publication(self) -> InterruptPublicationRequest
pub fn into_interrupt_publication(self) -> InterruptPublicationRequest
Consumes this notification and returns its pending ISR publication.
Auto Trait Implementations§
impl !RefUnwindSafe for QueueNotification
impl !UnwindSafe for QueueNotification
impl Freeze for QueueNotification
impl Send for QueueNotification
impl Sync for QueueNotification
impl Unpin for QueueNotification
impl UnsafeUnpin for QueueNotification
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