pub struct AsyncToolConfig {
pub yield_after: Duration,
}Expand description
工具到达让步窗口后转为后台任务的执行策略。
Fields§
§yield_after: DurationImplementations§
Trait Implementations§
Source§impl Clone for AsyncToolConfig
impl Clone for AsyncToolConfig
Source§fn clone(&self) -> AsyncToolConfig
fn clone(&self) -> AsyncToolConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AsyncToolConfig
impl RefUnwindSafe for AsyncToolConfig
impl Send for AsyncToolConfig
impl Sync for AsyncToolConfig
impl Unpin for AsyncToolConfig
impl UnsafeUnpin for AsyncToolConfig
impl UnwindSafe for AsyncToolConfig
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