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: bool
rate: 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,