Struct virtio_sys::virtio_net::virtio_net_hdr_v1
source · #[repr(C)]pub struct virtio_net_hdr_v1 {
pub flags: u8,
pub gso_type: u8,
pub hdr_len: __virtio16,
pub gso_size: __virtio16,
pub __bindgen_anon_1: virtio_net_hdr_v1__bindgen_ty_1,
pub num_buffers: __virtio16,
}
Fields§
§flags: u8
§gso_type: u8
§hdr_len: __virtio16
§gso_size: __virtio16
§__bindgen_anon_1: virtio_net_hdr_v1__bindgen_ty_1
§num_buffers: __virtio16
Trait Implementations§
source§impl Clone for virtio_net_hdr_v1
impl Clone for virtio_net_hdr_v1
source§fn clone(&self) -> virtio_net_hdr_v1
fn clone(&self) -> virtio_net_hdr_v1
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 Default for virtio_net_hdr_v1
impl Default for virtio_net_hdr_v1
impl Copy for virtio_net_hdr_v1
Auto Trait Implementations§
impl RefUnwindSafe for virtio_net_hdr_v1
impl Send for virtio_net_hdr_v1
impl Sync for virtio_net_hdr_v1
impl Unpin for virtio_net_hdr_v1
impl UnwindSafe for virtio_net_hdr_v1
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