Struct git_features::parallel::reduce::IdentityWithResult
source · [−]pub struct IdentityWithResult<Input, Error> { /* private fields */ }
Expand description
An identity reducer for those who want to use Stepwise
or in_parallel()
without the use of non-threaded reduction of products created in threads.
Trait Implementations
sourceimpl<Input, Error> Default for IdentityWithResult<Input, Error>
impl<Input, Error> Default for IdentityWithResult<Input, Error>
sourceimpl<Input, Error> Reduce for IdentityWithResult<Input, Error>
impl<Input, Error> Reduce for IdentityWithResult<Input, Error>
type Input = Result<Input, <IdentityWithResult<Input, Error> as Reduce>::Error>
type Input = Result<Input, <IdentityWithResult<Input, Error> as Reduce>::Error>
type FeedProduce = Input
type FeedProduce = Input
type Output = ()
type Output = ()
The type produced once by the
finalize()
method. Read moretype Error = Error
type Error = Error
The error type to use for all methods of this trait.
Auto Trait Implementations
impl<Input, Error> RefUnwindSafe for IdentityWithResult<Input, Error>where
Error: RefUnwindSafe,
Input: RefUnwindSafe,
impl<Input, Error> Send for IdentityWithResult<Input, Error>where
Error: Send,
Input: Send,
impl<Input, Error> Sync for IdentityWithResult<Input, Error>where
Error: Sync,
Input: Sync,
impl<Input, Error> Unpin for IdentityWithResult<Input, Error>where
Error: Unpin,
Input: Unpin,
impl<Input, Error> UnwindSafe for IdentityWithResult<Input, Error>where
Error: UnwindSafe,
Input: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more