Struct libdvb::net::NetDevice[][src]

pub struct NetDevice { /* fields omitted */ }

A reference to the network device

Implementations

impl NetDevice[src]

pub fn open(adapter: u32, device: u32) -> Result<NetDevice>[src]

Attempts to open a network device in read-write mode

pub fn add_if(&self, pid: u16, feedtype: u8) -> Result<NetInterface<'_>>[src]

Creates a new network interface and returns interface number

pub fn remove_if(&self, interface: NetInterface<'_>) -> Result<()>[src]

Removes a network interface

Trait Implementations

impl AsRawFd for NetDevice[src]

impl Debug for NetDevice[src]

Auto Trait Implementations

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.