[−][src]Struct extcap::IFace
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
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]
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>,