pub struct VectorSubscriberBatchedStream<T> { /* private fields */ }
Expand description
A batched stream of VectorDiff
s created from a VectorSubscriber
.
Use its Stream
implementation to interact with it (futures-util and
other futures-related crates have extension traits with convenience
methods).
Trait Implementations§
source§impl<T: Debug> Debug for VectorSubscriberBatchedStream<T>
impl<T: Debug> Debug for VectorSubscriberBatchedStream<T>
source§impl<T: Clone + Send + Sync + 'static> Stream for VectorSubscriberBatchedStream<T>
impl<T: Clone + Send + Sync + 'static> Stream for VectorSubscriberBatchedStream<T>
§type Item = Vec<VectorDiff<T>>
type Item = Vec<VectorDiff<T>>
Values yielded by the stream.
Auto Trait Implementations§
impl<T> Freeze for VectorSubscriberBatchedStream<T>
impl<T> !RefUnwindSafe for VectorSubscriberBatchedStream<T>
impl<T> Send for VectorSubscriberBatchedStream<T>
impl<T> Sync for VectorSubscriberBatchedStream<T>
impl<T> Unpin for VectorSubscriberBatchedStream<T>
impl<T> !UnwindSafe for VectorSubscriberBatchedStream<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