pub struct ConsumerBatch { /* private fields */ }Expand description
A consumer batch request
Obtained from JetstreamClient::consumer_batch.
Trait Implementations§
Source§impl Debug for ConsumerBatch
impl Debug for ConsumerBatch
Source§impl FusedStream for ConsumerBatch
impl FusedStream for ConsumerBatch
Source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the stream should no longer be polled.Source§impl Stream for ConsumerBatch
impl Stream for ConsumerBatch
Source§type Item = Result<ServerMessage, ConsumerBatchError>
type Item = Result<ServerMessage, ConsumerBatchError>
Values yielded by the stream.
impl<'__pin> Unpin for ConsumerBatchwhere
PinnedFieldsOf<__Origin<'__pin>>: Unpin,
Auto Trait Implementations§
impl !Freeze for ConsumerBatch
impl !RefUnwindSafe for ConsumerBatch
impl Send for ConsumerBatch
impl Sync for ConsumerBatch
impl !UnsafeUnpin for ConsumerBatch
impl !UnwindSafe for ConsumerBatch
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