Struct radio::blocking::BlockingOptions
source · pub struct BlockingOptions {
pub poll_interval: Duration,
pub timeout: Duration,
}
Expand description
BlockingOptions for blocking radio functions
Fields§
§poll_interval: Duration
Interval for polling for device state
timeout: Duration
Timeout for blocking operation
Trait Implementations§
source§impl Args for BlockingOptions
impl Args for BlockingOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for BlockingOptions
impl Clone for BlockingOptions
source§fn clone(&self) -> BlockingOptions
fn clone(&self) -> BlockingOptions
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 BlockingOptions
impl CommandFactory for BlockingOptions
source§impl Debug for BlockingOptions
impl Debug for BlockingOptions
source§impl Default for BlockingOptions
impl Default for BlockingOptions
source§impl FromArgMatches for BlockingOptions
impl FromArgMatches for BlockingOptions
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 BlockingOptions
impl Parser for BlockingOptions
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 BlockingOptions
impl PartialEq for BlockingOptions
source§fn eq(&self, other: &BlockingOptions) -> bool
fn eq(&self, other: &BlockingOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BlockingOptions
Auto Trait Implementations§
impl Freeze for BlockingOptions
impl RefUnwindSafe for BlockingOptions
impl Send for BlockingOptions
impl Sync for BlockingOptions
impl Unpin for BlockingOptions
impl UnwindSafe for BlockingOptions
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