[][src]Struct nakadion::components::connector::Connector

pub struct Connector<C> { /* fields omitted */ }

A Connector to connect to a Nakadi Stream

Methods

impl<C> Connector<C> where
    C: SubscriptionApi + Send + Sync + 'static, 
[src]

pub fn new(stream_client: C, params: ConnectorParams) -> Self[src]

pub fn from_client(stream_client: C) -> Self[src]

Trait Implementations

impl<C> Connects for Connector<C> where
    C: SubscriptionApi + Sync + Send + 'static, 
[src]

impl<C> From<C> for Connector<C> where
    C: SubscriptionApi + Send + Sync + 'static, 
[src]

Auto Trait Implementations

impl<C> !RefUnwindSafe for Connector<C>

impl<C> Send for Connector<C> where
    C: Send

impl<C> Sync for Connector<C> where
    C: Sync

impl<C> Unpin for Connector<C> where
    C: Unpin

impl<C> !UnwindSafe for Connector<C>

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> ConnectsExt for T where
    T: Connects + Sync
[src]

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