pub struct QueueCoreCompleteWork { /* private fields */ }Implementations§
Source§impl QueueCoreCompleteWork
impl QueueCoreCompleteWork
pub fn new( features: VirtioDeviceFeatures, mem: GuestMemory, params: QueueParams, ) -> Result<Self, QueueError>
pub fn complete_descriptor( &mut self, work: &QueueWork, bytes_written: u32, ) -> Result<bool, QueueError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueueCoreCompleteWork
impl !RefUnwindSafe for QueueCoreCompleteWork
impl Send for QueueCoreCompleteWork
impl Sync for QueueCoreCompleteWork
impl Unpin for QueueCoreCompleteWork
impl !UnwindSafe for QueueCoreCompleteWork
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