pub struct Topic<'a> { /* private fields */ }
Expand description
A view on the loaded metadata for a particular topic.
Implementations§
Source§impl<'a> Topic<'a>
impl<'a> Topic<'a>
Sourcepub fn partitions(&self) -> Partitions<'a>
pub fn partitions(&self) -> Partitions<'a>
Retrieves the list of all partitions for this topic.
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