pub struct Partition<'a> { /* private fields */ }
Expand description
The result of a “fetch messages” request from a particular Kafka broker for a single topic partition only. Beside the partition identifier, this structure provides an iterator over the actually requested message data.
Note: There might have been a (recoverable) error for a particular partition (but not for another).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Partition<'a>
impl<'a> !RefUnwindSafe for Partition<'a>
impl<'a> Send for Partition<'a>
impl<'a> Sync for Partition<'a>
impl<'a> Unpin for Partition<'a>
impl<'a> !UnwindSafe for Partition<'a>
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