[−][src]Struct kf_protocol_message::fetch::FetchPartition
Fields
partition_index: i32
The partition index.
current_leader_epoch: i32
The current leader epoch of the partition.
fetch_offset: i64
The message offset.
log_start_offset: i64
The earliest available offset of the follower replica. The field is only used when the request is sent by the follower.
max_bytes: i32
The maximum bytes to fetch from this partition. See KIP-74 for cases where this limit may not be honored.
Trait Implementations
impl Debug for FetchPartition
[src]
impl Decoder for FetchPartition
[src]
fn decode<T>(&mut self, src: &mut T, version: Version) -> Result<(), Error> where
T: Buf,
[src]
T: Buf,
fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
[src]
Self: Default,
T: Buf,
impl Default for FetchPartition
[src]
impl<'de> Deserialize<'de> for FetchPartition
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encoder for FetchPartition
[src]
fn encode<T>(&self, src: &mut T, version: Version) -> Result<(), Error> where
T: BufMut,
[src]
T: BufMut,
fn write_size(&self, version: Version) -> usize
[src]
fn as_bytes(&self, version: i16) -> Result<Bytes, Error>
[src]
impl Serialize for FetchPartition
[src]
Auto Trait Implementations
impl RefUnwindSafe for FetchPartition
impl Send for FetchPartition
impl Sync for FetchPartition
impl Unpin for FetchPartition
impl UnwindSafe for FetchPartition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,