#[repr(C)]pub struct UsedElem {
pub id: le32,
pub len: le32,
}
Expand description
Used Ring Entry
Fields§
§id: le32
Index of start of used descriptor chain.
le32
is used here for ids for padding reasons.
len: le32
The number of bytes written into the device writable portion of the buffer described by the descriptor chain.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsedElem
impl RefUnwindSafe for UsedElem
impl Send for UsedElem
impl Sync for UsedElem
impl Unpin for UsedElem
impl UnwindSafe for UsedElem
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