[][src]Struct nakadion::components::committer::Committer

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

Commits cursors for a stream

Committer is bound to a given subscription and stream. It has to be configured with its mutating methods.

Methods

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

pub fn new(
    client: C,
    subscription_id: SubscriptionId,
    stream_id: StreamId
) -> Self
[src]

Create a new instance bound to the given subscription and stream

Trait Implementations

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

Auto Trait Implementations

impl<C> !RefUnwindSafe for Committer<C>

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

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

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

impl<C> !UnwindSafe for Committer<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> 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>,