pub struct Topics<'a> { /* private fields */ }
Expand description
A description of available topics and their available partitions.
Indented for use by Partitioner
s.
Implementations§
source§impl<'a> Topics<'a>
impl<'a> Topics<'a>
sourcepub fn partitions(&'a self, topic: &str) -> Option<&'a Partitions>
pub fn partitions(&'a self, topic: &str) -> Option<&'a Partitions>
Retrieves informationa about a topic’s partitions.
Auto Trait Implementations§
impl<'a> Freeze for Topics<'a>
impl<'a> RefUnwindSafe for Topics<'a>
impl<'a> Send for Topics<'a>
impl<'a> Sync for Topics<'a>
impl<'a> Unpin for Topics<'a>
impl<'a> UnwindSafe for Topics<'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