Struct pravega_controller_client::ControllerClientImpl[][src]

pub struct ControllerClientImpl { /* fields omitted */ }

Implementations

impl ControllerClientImpl[src]

pub fn new(config: ClientConfig, rt: &Runtime) -> Self[src]

Create a pooled connection to the controller. The pool size is decided by the ClientConfig. The requests will be load balanced across multiple connections and every connection supports multiplexing of requests.

pub async fn reset(&self)[src]

reset method needs to be invoked in the case of ConnectionError. This logic can be removed once https://github.com/tower-rs/tower/issues/383 is fixed.

Trait Implementations

impl ControllerClient for ControllerClientImpl[src]

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> 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> IntoRequest<T> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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>, 

impl<T> WithSubscriber for T[src]