Skip to main content

RxDescriptor

Trait RxDescriptor 

Source
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§

Source

fn set_buffer_addr(&mut self, phys: u64)

Sets buffer addr.

Source

fn is_done(&self) -> bool

Returns whether done.

Source

fn packet_length(&self) -> u16

Performs the packet length operation.

Source

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.

Implementors§