pub struct ExtcapArgs {Show 22 fields
extcap_interfaces: bool,
extcap_dlts: bool,
extcap_config: bool,
extcap_interface: Option<String>,
extcap_reload_option: Option<String>,
capture: bool,
fifo: Option<PathBuf>,
extcap_version: Option<String>,
extcap_capture_filter: Option<String>,
log_level: Option<String>,
log_file: Option<PathBuf>,
radio: Option<String>,
serial_port: Option<String>,
baud: u32,
umsh_only: bool,
idle_probe_secs: u64,
no_reconnect: bool,
freq_khz: Option<String>,
bw_hz: Option<String>,
sf: Option<String>,
cr: Option<String>,
sync_word: Option<String>,
}Expand description
The arguments Wireshark passes.
Unknown-but-harmless flags are accepted and ignored rather than
rejected: Wireshark passes --extcap-version and the logging flags
unconditionally, and a hard error on any one of them would make the
interface vanish from the list entirely.
Fields§
§extcap_interfaces: bool§extcap_dlts: bool§extcap_config: bool§extcap_interface: Option<String>§extcap_reload_option: Option<String>§capture: bool§fifo: Option<PathBuf>§extcap_version: Option<String>§extcap_capture_filter: Option<String>§log_level: Option<String>§log_file: Option<PathBuf>§radio: Option<String>§serial_port: Option<String>§baud: u32§umsh_only: bool§idle_probe_secs: u64§no_reconnect: bool§freq_khz: Option<String>§bw_hz: Option<String>§sf: Option<String>§cr: Option<String>§sync_word: Option<String>Trait Implementations§
Source§impl Args for ExtcapArgs
impl Args for ExtcapArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for ExtcapArgs
impl CommandFactory for ExtcapArgs
Source§impl Debug for ExtcapArgs
impl Debug for ExtcapArgs
Source§impl FromArgMatches for ExtcapArgs
impl FromArgMatches for ExtcapArgs
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 ExtcapArgs
impl Parser for ExtcapArgs
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)
Auto Trait Implementations§
impl Freeze for ExtcapArgs
impl RefUnwindSafe for ExtcapArgs
impl Send for ExtcapArgs
impl Sync for ExtcapArgs
impl Unpin for ExtcapArgs
impl UnwindSafe for ExtcapArgs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more