Struct radio::helpers::ReceiveOptions
source · pub struct ReceiveOptions {
pub continuous: bool,
pub pcap_options: PcapOptions,
pub blocking_options: BlockingOptions,
}
Expand description
Configuration for Receive operation
Fields§
§continuous: bool
Run continuously
pcap_options: PcapOptions
§blocking_options: BlockingOptions
Trait Implementations§
source§impl Args for ReceiveOptions
impl Args for ReceiveOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for ReceiveOptions
impl Clone for ReceiveOptions
source§fn clone(&self) -> ReceiveOptions
fn clone(&self) -> ReceiveOptions
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 ReceiveOptions
impl CommandFactory for ReceiveOptions
source§impl Debug for ReceiveOptions
impl Debug for ReceiveOptions
source§impl FromArgMatches for ReceiveOptions
impl FromArgMatches for ReceiveOptions
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 ReceiveOptions
impl Parser for ReceiveOptions
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 ReceiveOptions
impl PartialEq for ReceiveOptions
source§fn eq(&self, other: &ReceiveOptions) -> bool
fn eq(&self, other: &ReceiveOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReceiveOptions
Auto Trait Implementations§
impl Freeze for ReceiveOptions
impl RefUnwindSafe for ReceiveOptions
impl Send for ReceiveOptions
impl Sync for ReceiveOptions
impl Unpin for ReceiveOptions
impl UnwindSafe for ReceiveOptions
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