pub struct SequenceUpdatesBuilder { /* private fields */ }Expand description
A pending sequence-updates subscription, created with
OxiaClient::sequence_updates. .await it to obtain the
SequenceUpdates stream.
Implementations§
Source§impl SequenceUpdatesBuilder
impl SequenceUpdatesBuilder
Sourcepub fn buffer_size(self, buffer_size: usize) -> Self
pub fn buffer_size(self, buffer_size: usize) -> Self
Sets the subscription’s channel capacity (default 100).
Trait Implementations§
Source§impl Debug for SequenceUpdatesBuilder
impl Debug for SequenceUpdatesBuilder
Source§impl IntoFuture for SequenceUpdatesBuilder
impl IntoFuture for SequenceUpdatesBuilder
Source§type Output = Result<SequenceUpdates, OxiaError>
type Output = Result<SequenceUpdates, OxiaError>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SequenceUpdatesBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SequenceUpdatesBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SequenceUpdatesBuilder
impl !UnwindSafe for SequenceUpdatesBuilder
impl Freeze for SequenceUpdatesBuilder
impl Send for SequenceUpdatesBuilder
impl Sync for SequenceUpdatesBuilder
impl Unpin for SequenceUpdatesBuilder
impl UnsafeUnpin for SequenceUpdatesBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request