Struct fluvio::dataplane::fetch::FetchResponse[][src]

pub struct FetchResponse<R> where
    R: Encoder + Decoder + Default + Debug
{ pub throttle_time_ms: i32, pub error_code: ErrorCode, pub session_id: i32, pub topics: Vec<FetchableTopicResponse<R>, Global>, }

Fields

throttle_time_ms: i32

The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota.

error_code: ErrorCodesession_id: i32

The fetch session ID, or 0 if this is not part of a fetch session.

topics: Vec<FetchableTopicResponse<R>, Global>

The response topics.

Implementations

impl<R> FetchResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

pub fn find_partition(
    self,
    topic: &str,
    partition: i32
) -> Option<FetchablePartitionResponse<R>>
[src]

impl<R> FetchResponse<R> where
    R: Encoder + Decoder + Debug
[src]

pub fn find_topic(&self, topic: &str) -> Option<&FetchableTopicResponse<R>> where
    R: Debug
[src]

Trait Implementations

impl<R> Debug for FetchResponse<R> where
    R: Debug + Encoder + Decoder + Default
[src]

impl<R> Decoder for FetchResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Default for FetchResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Encoder for FetchResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl FileWrite for FetchResponse<FileRecordSet>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for FetchResponse<R> where
    R: RefUnwindSafe

impl<R> Send for FetchResponse<R> where
    R: Send

impl<R> Sync for FetchResponse<R> where
    R: Sync

impl<R> Unpin for FetchResponse<R> where
    R: Unpin

impl<R> UnwindSafe for FetchResponse<R> where
    R: UnwindSafe

Blanket Implementations

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

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

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

impl<T> Erased for T

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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> WithSubscriber for T[src]