pub struct Topic<'a> { /* private fields */ }
Expand description
The result of a “fetch messages” request from a particular Kafka broker for a single topic only. Beside the name of the topic, this structure provides an iterator over the topic partitions from which messages were requested.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Topic<'a>
impl<'a> !RefUnwindSafe for Topic<'a>
impl<'a> Send for Topic<'a>
impl<'a> Sync for Topic<'a>
impl<'a> Unpin for Topic<'a>
impl<'a> !UnwindSafe for Topic<'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