Struct kafka::client::metadata::Topics [] [src]

pub struct Topics<'a> { /* fields omitted */ }

A view on the loaded metadata about topics and their partitions.

Methods

impl<'a> Topics<'a>
[src]

[src]

Constructs a view of the currently loaded topic metadata from the specified kafka client.

[src]

Retrieves the number of the underlying topics.

[src]

Provides an iterator over the underlying topics.

[src]

A conveniece method to return an iterator over the topics' names.

[src]

A convenience method to determine whether the specified topic is known.

[src]

Retrieves the partitions of a specified topic.

Trait Implementations

impl<'a> Debug for Topics<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> IntoIterator for &'a Topics<'a>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<'a> IntoIterator for Topics<'a>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more