[][src]Struct hermit::kernel::virtio_net::VirtioNetDriver

pub struct VirtioNetDriver<'a> { /* fields omitted */ }

Implementations

impl<'a> VirtioNetDriver<'a>[src]

pub fn init_vqs(&mut self)[src]

pub fn negotiate_features(&mut self)[src]

pub fn init(&mut self)[src]

pub fn check_used_elements(&mut self)[src]

pub fn handle_interrupt(&mut self) -> bool[src]

pub fn get_mac_address(&self) -> [u8; 6][src]

pub fn get_mtu(&self) -> u16[src]

pub fn get_tx_buffer(&mut self, len: usize) -> Result<(*mut u8, usize), ()>[src]

pub fn send_tx_buffer(&mut self, index: usize, len: usize) -> Result<(), ()>[src]

pub fn has_packet(&self) -> bool[src]

pub fn receive_rx_buffer(&self) -> Result<&'static [u8], ()>[src]

pub fn rx_buffer_consumed(&mut self)[src]

Trait Implementations

impl<'a> Debug for VirtioNetDriver<'a>[src]

Auto Trait Implementations

impl<'a> !Send for VirtioNetDriver<'a>

impl<'a> !Sync for VirtioNetDriver<'a>

impl<'a> Unpin for VirtioNetDriver<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.