pub struct ErrorAccumulatorFinisher<List, Constructor, Out> { /* private fields */ }
Expand description
Intermediate state when ErrorAccumulator::on_ok()
was called.
See the method’s documentation for more details.
Implementations§
Source§impl<List, Constr, Out> ErrorAccumulatorFinisher<List, Constr, Out>where
List: ToTuple,
Constr: Constructor<List::List, Out>,
impl<List, Constr, Out> ErrorAccumulatorFinisher<List, Constr, Out>where
List: ToTuple,
Constr: Constructor<List::List, Out>,
Sourcepub fn analyse(self) -> Result<Out, AccumulatedError>
pub fn analyse(self) -> Result<Out, AccumulatedError>
Like ErrorAccumulator::analyse()
but the recorded Ok
values are
processed by the provided Constructor
.
Trait Implementations§
Auto Trait Implementations§
impl<List, Constructor, Out> Freeze for ErrorAccumulatorFinisher<List, Constructor, Out>
impl<List, Constructor, Out> !RefUnwindSafe for ErrorAccumulatorFinisher<List, Constructor, Out>
impl<List, Constructor, Out> Send for ErrorAccumulatorFinisher<List, Constructor, Out>
impl<List, Constructor, Out> Sync for ErrorAccumulatorFinisher<List, Constructor, Out>
impl<List, Constructor, Out> Unpin for ErrorAccumulatorFinisher<List, Constructor, Out>
impl<List, Constructor, Out> !UnwindSafe for ErrorAccumulatorFinisher<List, Constructor, Out>
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