pub struct TxSegment {
pub ty: TxSegmentType,
pub gpa: u64,
pub len: u32,
}
Expand description
A transmit packet segment.
Fields§
§ty: TxSegmentType
The segment type (head or tail).
gpa: u64
The guest address of this segment.
len: u32
The length of this segment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxSegment
impl RefUnwindSafe for TxSegment
impl Send for TxSegment
impl Sync for TxSegment
impl Unpin for TxSegment
impl UnwindSafe for TxSegment
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