[−][src]Struct nakadion::components::committer::Committer
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]
C: SubscriptionApi + Send + Sync + 'static,
pub fn new(
client: C,
subscription_id: SubscriptionId,
stream_id: StreamId
) -> Self
[src]
client: C,
subscription_id: SubscriptionId,
stream_id: StreamId
) -> Self
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]
C: SubscriptionApi + Send + Sync + 'static,
fn commit<'a>(&'a self, cursors: &'a [SubscriptionCursor]) -> CommitFuture<'a>
[src]
fn instrumentation(&self) -> Instrumentation
[src]
fn set_flow_id(&mut self, flow_id: FlowId)
[src]
fn set_timeout_millis(&mut self, timeout: CommitAttemptTimeoutMillis)
[src]
fn set_instrumentation(&mut self, instrumentation: Instrumentation)
[src]
fn set_subscription_id(&mut self, subscription_id: SubscriptionId)
[src]
fn set_stream_id(&mut self, stream_id: StreamId)
[src]
fn subscription_id(&self) -> SubscriptionId
[src]
fn stream_id(&self) -> StreamId
[src]
Auto Trait Implementations
impl<C> !RefUnwindSafe for Committer<C>
impl<C> Send for Committer<C> where
C: Send,
C: Send,
impl<C> Sync for Committer<C> where
C: Sync,
C: Sync,
impl<C> Unpin for Committer<C> where
C: Unpin,
C: Unpin,
impl<C> !UnwindSafe for Committer<C>
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> 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,