pub struct ValidationCollector<T, E> { /* private fields */ }Expand description
Collects multiple Results, accumulating all errors (Validation-style).
Implementations§
Source§impl<T, E> ValidationCollector<T, E>
impl<T, E> ValidationCollector<T, E>
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create with a capacity hint.
Auto Trait Implementations§
impl<T, E> Freeze for ValidationCollector<T, E>
impl<T, E> RefUnwindSafe for ValidationCollector<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for ValidationCollector<T, E>
impl<T, E> Sync for ValidationCollector<T, E>
impl<T, E> Unpin for ValidationCollector<T, E>
impl<T, E> UnsafeUnpin for ValidationCollector<T, E>
impl<T, E> UnwindSafe for ValidationCollector<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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