Struct svc_pricing::grpc::server::ServerImpl
source · pub struct ServerImpl {}
Expand description
struct to implement the gRPC server functions
Trait Implementations§
source§impl Clone for ServerImpl
impl Clone for ServerImpl
source§fn clone(&self) -> ServerImpl
fn clone(&self) -> ServerImpl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServerImpl
impl Debug for ServerImpl
source§impl Default for ServerImpl
impl Default for ServerImpl
source§fn default() -> ServerImpl
fn default() -> ServerImpl
Returns the “default value” for a type. Read more
source§impl RpcService for ServerImpl
impl RpcService for ServerImpl
source§fn get_pricing<'life0, 'async_trait>(
&'life0 self,
request: Request<PricingRequests>
) -> Pin<Box<dyn Future<Output = Result<Response<PricingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_pricing<'life0, 'async_trait>(
&'life0 self,
request: Request<PricingRequests>
) -> Pin<Box<dyn Future<Output = Result<Response<PricingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get pricing for a given query.
impl Copy for ServerImpl
Auto Trait Implementations§
impl RefUnwindSafe for ServerImpl
impl Send for ServerImpl
impl Sync for ServerImpl
impl Unpin for ServerImpl
impl UnwindSafe for ServerImpl
Blanket Implementations§
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