pub struct DaemonServeArgs {
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 DaemonServeArgs
impl Args for DaemonServeArgs
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 DaemonServeArgs
impl FromArgMatches for DaemonServeArgs
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 DaemonServeArgs
impl RefUnwindSafe for DaemonServeArgs
impl Send for DaemonServeArgs
impl Sync for DaemonServeArgs
impl Unpin for DaemonServeArgs
impl UnsafeUnpin for DaemonServeArgs
impl UnwindSafe for DaemonServeArgs
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