[−][src]Struct hermit::x86_64::kernel::virtio_net::VirtioNetDriver
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,