Struct aruna_cache::query::ApiQueryHandler
source · pub struct ApiQueryHandler { /* private fields */ }Trait Implementations§
source§impl QueryHandler for ApiQueryHandler
impl QueryHandler for ApiQueryHandler
fn get_user<'life0, 'async_trait>( &'life0 self, id: DieselUlid, checksum: String ) -> Pin<Box<dyn Future<Output = Result<User>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn get_pubkeys<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<APIPubkey>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn get_resource<'life0, 'life1, 'async_trait>( &'life0 self, res: &'life1 Resource, checksum: String ) -> Pin<Box<dyn Future<Output = Result<Resource>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn full_sync<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<FullSyncData>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ApiQueryHandler
impl Send for ApiQueryHandler
impl Sync for ApiQueryHandler
impl Unpin for ApiQueryHandler
impl !UnwindSafe for ApiQueryHandler
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