pub struct WriteChunk {
pub buffer_phys: u64,
pub buffer_cpu: *const u8,
pub len: usize,
pub sequence: u32,
}Expand description
Write chunk descriptor for queuing.
Used to track chunks ready for writing.
Fields§
§buffer_phys: u64Physical address of buffer.
buffer_cpu: *const u8CPU address of buffer (for memcpy if needed).
len: usizeLength of valid data.
sequence: u32Sequence number (for ordering).
Trait Implementations§
Source§impl Clone for WriteChunk
impl Clone for WriteChunk
Source§fn clone(&self) -> WriteChunk
fn clone(&self) -> WriteChunk
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriteChunk
impl Debug for WriteChunk
Source§impl Default for WriteChunk
impl Default for WriteChunk
impl Copy for WriteChunk
Auto Trait Implementations§
impl Freeze for WriteChunk
impl RefUnwindSafe for WriteChunk
impl !Send for WriteChunk
impl !Sync for WriteChunk
impl Unpin for WriteChunk
impl UnwindSafe for WriteChunk
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