#[repr(C)]pub struct LegacyRxDesc {
pub addr: u64,
pub length: u16,
pub checksum: u16,
pub status: u8,
pub errors: u8,
pub special: u16,
}Fields§
§addr: u64§length: u16§checksum: u16§status: u8§errors: u8§special: u16Trait Implementations§
Source§impl Clone for LegacyRxDesc
impl Clone for LegacyRxDesc
Source§fn clone(&self) -> LegacyRxDesc
fn clone(&self) -> LegacyRxDesc
Returns a duplicate 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 LegacyRxDesc
impl Default for LegacyRxDesc
Source§fn default() -> LegacyRxDesc
fn default() -> LegacyRxDesc
Returns the “default value” for a type. Read more
Source§impl RxDescriptor for LegacyRxDesc
impl RxDescriptor for LegacyRxDesc
Source§fn set_buffer_addr(&mut self, phys: u64)
fn set_buffer_addr(&mut self, phys: u64)
Sets buffer addr.
Source§fn packet_length(&self) -> u16
fn packet_length(&self) -> u16
Performs the packet length operation.
Source§fn clear_status(&mut self)
fn clear_status(&mut self)
Performs the clear status operation.
impl Copy for LegacyRxDesc
Auto Trait Implementations§
impl Freeze for LegacyRxDesc
impl RefUnwindSafe for LegacyRxDesc
impl Send for LegacyRxDesc
impl Sync for LegacyRxDesc
impl Unpin for LegacyRxDesc
impl UnsafeUnpin for LegacyRxDesc
impl UnwindSafe for LegacyRxDesc
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