pub enum ProcessResultsStrategy {
Partition,
BreakOnError,
}Expand description
Defines the strategy to use when processing results from an asynchronous iterator.
Variants§
Partition
Continue processing all results, separating successes and errors.
BreakOnError
Stop processing at the first error encountered.
Trait Implementations§
Source§impl Clone for ProcessResultsStrategy
impl Clone for ProcessResultsStrategy
Source§fn clone(&self) -> ProcessResultsStrategy
fn clone(&self) -> ProcessResultsStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessResultsStrategy
impl Debug for ProcessResultsStrategy
Source§impl Default for ProcessResultsStrategy
impl Default for ProcessResultsStrategy
Source§fn default() -> ProcessResultsStrategy
fn default() -> ProcessResultsStrategy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessResultsStrategy
impl RefUnwindSafe for ProcessResultsStrategy
impl Send for ProcessResultsStrategy
impl Sync for ProcessResultsStrategy
impl Unpin for ProcessResultsStrategy
impl UnwindSafe for ProcessResultsStrategy
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