pub struct LimitFlags {
pub timeout: Option<u64>,
pub connect_timeout: Option<u64>,
pub retries: Option<u32>,
pub max_concurrency: Option<usize>,
pub compress: Option<Compress>,
}Expand description
Time and size budgets.
Fields§
§timeout: Option<u64>Ceiling for one operation, in seconds.
connect_timeout: Option<u64>Ceiling for opening the connection, in seconds.
retries: Option<u32>Extra attempts on a repeatable failure.
max_concurrency: Option<usize>Ceiling on simultaneous internal work.
compress: Option<Compress>Whether the network channel is compressed.
Trait Implementations§
Source§impl Args for LimitFlags
impl Args for LimitFlags
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 Clone for LimitFlags
impl Clone for LimitFlags
Source§impl Debug for LimitFlags
impl Debug for LimitFlags
Source§impl FromArgMatches for LimitFlags
impl FromArgMatches for LimitFlags
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.Auto Trait Implementations§
impl Freeze for LimitFlags
impl RefUnwindSafe for LimitFlags
impl Send for LimitFlags
impl Sync for LimitFlags
impl Unpin for LimitFlags
impl UnsafeUnpin for LimitFlags
impl UnwindSafe for LimitFlags
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