[][src]Struct kafka::client::fetch::Response

pub struct Response { /* fields omitted */ }

The result of a "fetch messages" request from a particular Kafka broker. Such a response can contain messages for multiple topic partitions.

Methods

impl Response[src]

pub fn correlation_id(&self) -> i32[src]

Retrieves the id corresponding to the fetch messages request (provided for debugging purposes only).

pub fn topics<'a>(&'a self) -> &[Topic<'a>][src]

Provides an iterator over all the topics and the fetched data relative to these topics.

Trait Implementations

impl Debug for Response[src]

Auto Trait Implementations

impl Unpin for Response

impl !Sync for Response

impl Send for Response

impl !UnwindSafe for Response

impl !RefUnwindSafe for Response

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,