pub struct PgCursorAcker { /* private fields */ }Expand description
Source-side acker. Holds shared cursor state so an unacked message is re-emitted on the next stream poll instead of being dropped.
Trait Implementations§
Source§impl Acker for PgCursorAcker
impl Acker for PgCursorAcker
Source§impl Clone for PgCursorAcker
impl Clone for PgCursorAcker
Source§fn clone(&self) -> PgCursorAcker
fn clone(&self) -> PgCursorAcker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PgCursorAcker
impl !UnwindSafe for PgCursorAcker
impl Freeze for PgCursorAcker
impl Send for PgCursorAcker
impl Sync for PgCursorAcker
impl Unpin for PgCursorAcker
impl UnsafeUnpin for PgCursorAcker
Blanket Implementations§
Source§impl<T> AckerExt for Twhere
T: Acker + 'static,
impl<T> AckerExt for Twhere
T: Acker + 'static,
fn into_boxed(self) -> Box<dyn DynAcker>
fn into_arced(self) -> Arc<dyn DynAcker>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynAcker for T
impl<T> DynAcker for T
fn ack_dyn<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn nack_dyn<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn nack_with_dyn<'a>( &'a self, context: NackContext, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more