pub struct VirtqueueReturnBuffer<'b> {
pub virtqueue_buffer: VirtqueueBuffer<'b>,
pub device_len: usize,
}Expand description
A VirtqueueBuffer as returned by the device.
In addition to the same VirtqueueBuffer that was original passed to the
device, it contains a device_len field that indicates how many bytes the
device has read from or written to the buffer.
Fields§
§virtqueue_buffer: VirtqueueBuffer<'b>§device_len: usizeTrait Implementations§
Auto Trait Implementations§
impl<'b> Freeze for VirtqueueReturnBuffer<'b>
impl<'b> RefUnwindSafe for VirtqueueReturnBuffer<'b>
impl<'b> Send for VirtqueueReturnBuffer<'b>
impl<'b> Sync for VirtqueueReturnBuffer<'b>
impl<'b> Unpin for VirtqueueReturnBuffer<'b>
impl<'b> UnsafeUnpin for VirtqueueReturnBuffer<'b>
impl<'b> !UnwindSafe for VirtqueueReturnBuffer<'b>
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