pub struct LibsqlAck { /* private fields */ }Expand description
Acknowledgment handler for libSQL backend
Implementations§
Trait Implementations§
Source§impl<Res: Serialize + 'static> Acknowledge<Res, SqlContext, Ulid> for LibsqlAck
impl<Res: Serialize + 'static> Acknowledge<Res, SqlContext, Ulid> for LibsqlAck
Source§type Error = LibsqlError
type Error = LibsqlError
The error type returned by the acknowledgment process
Source§type Future = Pin<Box<dyn Future<Output = Result<(), <LibsqlAck as Acknowledge<Res, SqlContext, Ulid>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<(), <LibsqlAck as Acknowledge<Res, SqlContext, Ulid>>::Error>> + Send>>
The future returned by the
ack methodSource§fn ack(
&mut self,
res: &Result<Res, BoxDynError>,
parts: &Parts<SqlContext, Ulid>,
) -> Self::Future
fn ack( &mut self, res: &Result<Res, BoxDynError>, parts: &Parts<SqlContext, Ulid>, ) -> Self::Future
Acknowledge the result of a task processing
Auto Trait Implementations§
impl Freeze for LibsqlAck
impl !RefUnwindSafe for LibsqlAck
impl Send for LibsqlAck
impl Sync for LibsqlAck
impl Unpin for LibsqlAck
impl !UnwindSafe for LibsqlAck
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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