pub struct DaemonStartArgs {
pub empty_poll_ms: u64,
pub wait_poll_ms: u64,
pub notify_when_unblocked: bool,
}Fields§
§empty_poll_ms: u64Poll interval in milliseconds while waiting for new tasks when queue is empty (default: 30000, min: 50).
wait_poll_ms: u64Poll interval in milliseconds while waiting for blocked tasks (default: 1000, min: 50).
notify_when_unblocked: boolNotify when queue becomes unblocked (desktop + webhook).
Trait Implementations§
Source§impl Args for DaemonStartArgs
impl Args for DaemonStartArgs
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 FromArgMatches for DaemonStartArgs
impl FromArgMatches for DaemonStartArgs
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 DaemonStartArgs
impl RefUnwindSafe for DaemonStartArgs
impl Send for DaemonStartArgs
impl Sync for DaemonStartArgs
impl Unpin for DaemonStartArgs
impl UnsafeUnpin for DaemonStartArgs
impl UnwindSafe for DaemonStartArgs
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