pub struct Collector<T> { /* private fields */ }Expand description
The collector instance collects values from a stream. Created by
Stream::collect().
Implementations§
Auto Trait Implementations§
impl<T> Freeze for Collector<T>
impl<T> RefUnwindSafe for Collector<T>
impl<T> Send for Collector<T>where
T: Send,
impl<T> Sync for Collector<T>where
T: Send,
impl<T> Unpin for Collector<T>
impl<T> UnsafeUnpin for Collector<T>
impl<T> UnwindSafe for Collector<T>
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