[][src]Struct extcap::IFace

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

Interface representation

Methods

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

pub fn new(interface: &str) -> Self[src]

Creates a new instance of IFace using a string name

pub fn description(self, descr: &str) -> Self[src]

Sets the description

pub fn dlt(self, dlt: u32) -> Self[src]

Sets the DLT

pub fn dltname(self, dltname: &str) -> Self[src]

Sets the DLT name

pub fn dltdescription(self, dltdescr: &str) -> Self[src]

Sets the DLT description

pub fn add_arg(&mut self, arg: IfArg<'a>)[src]

Adds argument

pub fn config_debug(&mut self)[src]

Configures debug arguments debug and debug-file

Trait Implementations

impl<'a> Default for IFace<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for IFace<'a>

impl<'a> Send for IFace<'a>

impl<'a> Sync for IFace<'a>

impl<'a> Unpin for IFace<'a>

impl<'a> UnwindSafe for IFace<'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.