pub trait RxDescriptor: Copy {
// Required methods
fn set_buffer_addr(&mut self, phys: u64);
fn is_done(&self) -> bool;
fn packet_length(&self) -> u16;
fn clear_status(&mut self);
}Required Methods§
Sourcefn set_buffer_addr(&mut self, phys: u64)
fn set_buffer_addr(&mut self, phys: u64)
Sets buffer addr.
Sourcefn packet_length(&self) -> u16
fn packet_length(&self) -> u16
Performs the packet length operation.
Sourcefn clear_status(&mut self)
fn clear_status(&mut self)
Performs the clear status operation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.