pub struct ConcurrentProgressStrategy { /* private fields */ }Expand description
Concurrent strategy that provides real-time feedback as targets become ready
Implementations§
Trait Implementations§
Source§impl AsyncConnectionStrategy for ConcurrentProgressStrategy
impl AsyncConnectionStrategy for ConcurrentProgressStrategy
Source§fn execute_streaming<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
targets: &'life1 [Target],
checker: &'life2 dyn AsyncTargetChecker,
config: &'life3 WaitConfig,
) -> Pin<Box<dyn Future<Output = Result<Vec<TargetResult>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn execute_streaming<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
targets: &'life1 [Target],
checker: &'life2 dyn AsyncTargetChecker,
config: &'life3 WaitConfig,
) -> Pin<Box<dyn Future<Output = Result<Vec<TargetResult>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Streaming implementation that yields results as they complete
Source§fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
targets: &'life1 [Target],
checker: &'life2 dyn AsyncTargetChecker,
config: &'life3 WaitConfig,
) -> Pin<Box<dyn Future<Output = Result<WaitResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
targets: &'life1 [Target],
checker: &'life2 dyn AsyncTargetChecker,
config: &'life3 WaitConfig,
) -> Pin<Box<dyn Future<Output = Result<WaitResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Execute the connection strategy for multiple targets
Auto Trait Implementations§
impl Freeze for ConcurrentProgressStrategy
impl RefUnwindSafe for ConcurrentProgressStrategy
impl Send for ConcurrentProgressStrategy
impl Sync for ConcurrentProgressStrategy
impl Unpin for ConcurrentProgressStrategy
impl UnsafeUnpin for ConcurrentProgressStrategy
impl UnwindSafe for ConcurrentProgressStrategy
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