[][src]Struct flv_client::SpuLeader

pub struct SpuLeader { /* fields omitted */ }

Methods

impl SpuLeader[src]

pub fn addr(&self) -> &ServerAddress[src]

pub fn client_id(&self) -> &str[src]

pub fn topic(&self) -> &str[src]

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

pub async fn connect(config: LeaderConfig) -> Result<Self, ClientError>[src]

pub async fn fetch_local_spu<'_>(
    &'_ mut self
) -> Result<FlvFetchLocalSpuResponse, KfSocketError>
[src]

fetch local spu

Trait Implementations

impl ReplicaLeader for SpuLeader[src]

type OffsetPartitionResponse = FetchOffsetPartitionResponse

fn fetch_logs<'a>(
    &'a mut self,
    offset: i64,
    max_bytes: i32,
    isolation: Isolation
) -> BoxStream<'a, FetchablePartitionResponse<DefaultRecords>>
[src]

stream of partition response

Auto Trait Implementations

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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,