[][src]Struct rawsock::wpcap::Library

pub struct Library { /* fields omitted */ }

Instance of a opened wpcap library.

Methods

impl Library[src]

pub fn open_interface(&self, name: &str) -> Result<Interface, Error>[src]

pub fn dll(&self) -> &WPCapDll[src]

Trait Implementations

impl Library for Library[src]

fn open_default_paths() -> Result<Self, Error> where
    Self: Sized
[src]

Opens this library by searching for most common paths and names fro the given platform

fn open_paths<'b, T>(paths: T) -> Result<Self, Error> where
    Self: Sized,
    T: IntoIterator<Item = &'b str>, 
[src]

Opens library searching in the list of provided paths.

Auto Trait Implementations

impl Sync for Library

impl Send for Library

impl Unpin for Library

impl RefUnwindSafe for Library

impl UnwindSafe for Library

Blanket Implementations

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.

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

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

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