pub struct E1000 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DriverGeneric for E1000
impl DriverGeneric for E1000
Source§impl Interface for E1000
impl Interface for E1000
Source§fn mac_address(&self) -> [u8; 6]
fn mac_address(&self) -> [u8; 6]
Returns the device’s 6-byte MAC address.
Source§fn create_tx_queue(&mut self) -> Option<Box<dyn ITxQueue>>
fn create_tx_queue(&mut self) -> Option<Box<dyn ITxQueue>>
Create a new transmit queue. Returns
None if no more queues are
available.Source§fn create_rx_queue(&mut self) -> Option<Box<dyn IRxQueue>>
fn create_rx_queue(&mut self) -> Option<Box<dyn IRxQueue>>
Create a new receive queue. Returns
None if no more queues are
available.Source§fn enable_irq(&mut self)
fn enable_irq(&mut self)
Enable device interrupts.
Source§fn disable_irq(&mut self)
fn disable_irq(&mut self)
Disable device interrupts.
Source§fn is_irq_enabled(&self) -> bool
fn is_irq_enabled(&self) -> bool
Check whether device interrupts are currently enabled.
Source§fn handle_irq(&mut self) -> Event
fn handle_irq(&mut self) -> Event
Handle a device interrupt, returning which queues have events.
Auto Trait Implementations§
impl Freeze for E1000
impl !RefUnwindSafe for E1000
impl Send for E1000
impl Sync for E1000
impl Unpin for E1000
impl UnsafeUnpin for E1000
impl !UnwindSafe for E1000
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