Struct dyer::engine::AppArg[][src]

pub struct AppArg {
Show fields pub gap: u64, pub join_gap: u64, pub join_gap_emer: f64, pub round_req: usize, pub round_req_min: usize, pub round_req_max: usize, pub buf_task_tmp: usize, pub spawn_task_max: usize, pub round_task: usize, pub round_task_min: usize, pub round_res: usize, pub profile_min: usize, pub profile_max: usize, pub round_yield_err: usize, pub round_result: usize, pub skip_history: bool, pub rate: Rate,
}

Arguments that control the App at runtime, including using history or not,
Task Profile Request Response Entity consuming and generating There shall be an introduction to every member(maybe coming soon).

Fields

gap: u64

time tap added to created Tasks or Profiles

join_gap: u64

gap to forcefully join the spawned task

join_gap_emer: f64

gap to forcefully join the spawned task if none of items meeting join_gap

round_req: usize

number that once for a concurrent future poll

round_req_min: usize

cache request minimal length

round_req_max: usize

cache request maximal length

buf_task_tmp: usize

buffer length for the created task.

spawn_task_max: usize

maximal spawned task that cached

round_task: usize

construct req from task one time

round_task_min: usize

minimal task(profile) consumed per round

round_res: usize

consume response once upon a time

profile_min: usize

minimal profile number

profile_max: usize

maximal profile number

round_yield_err: usize

consume yield_err once upon a time

round_result: usize

consume Entity once upon a time

skip_history: boolrate: Rate

control the task speed runtime

Auto Trait Implementations

impl RefUnwindSafe for AppArg

impl Send for AppArg

impl Sync for AppArg

impl Unpin for AppArg

impl UnwindSafe for AppArg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.