Struct radio::helpers::PcapOptions
source · pub struct PcapOptions {
pub pcap_file: Option<String>,
pub pcap_pipe: Option<String>,
}
Fields§
§pcap_file: Option<String>
Create and write capture output to a PCAP file
pcap_pipe: Option<String>
Create and write to a unix pipe for connection to wireshark
Implementations§
source§impl PcapOptions
impl PcapOptions
Trait Implementations§
source§impl Args for PcapOptions
impl Args for PcapOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for PcapOptions
impl Clone for PcapOptions
source§fn clone(&self) -> PcapOptions
fn clone(&self) -> PcapOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CommandFactory for PcapOptions
impl CommandFactory for PcapOptions
source§impl Debug for PcapOptions
impl Debug for PcapOptions
source§impl FromArgMatches for PcapOptions
impl FromArgMatches for PcapOptions
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Parser for PcapOptions
impl Parser for PcapOptions
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
source§impl PartialEq for PcapOptions
impl PartialEq for PcapOptions
source§fn eq(&self, other: &PcapOptions) -> bool
fn eq(&self, other: &PcapOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PcapOptions
Auto Trait Implementations§
impl Freeze for PcapOptions
impl RefUnwindSafe for PcapOptions
impl Send for PcapOptions
impl Sync for PcapOptions
impl Unpin for PcapOptions
impl UnwindSafe for PcapOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more