pub struct SyncHandlerImpl { /* private fields */ }Expand description
Default implementation of SyncHandler with database backend access.
Implementations§
Trait Implementations§
Source§impl SyncHandler for SyncHandlerImpl
impl SyncHandler for SyncHandlerImpl
Source§fn handle_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: &'life1 SyncRequest,
context: &'life2 RequestContext,
) -> Pin<Box<dyn Future<Output = SyncResponse> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn handle_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: &'life1 SyncRequest,
context: &'life2 RequestContext,
) -> Pin<Box<dyn Future<Output = SyncResponse> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Handle a sync request and generate an appropriate response. Read more
Auto Trait Implementations§
impl Freeze for SyncHandlerImpl
impl !RefUnwindSafe for SyncHandlerImpl
impl Send for SyncHandlerImpl
impl Sync for SyncHandlerImpl
impl Unpin for SyncHandlerImpl
impl !UnwindSafe for SyncHandlerImpl
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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