pub struct ThriftHiveMetastoreServer<S> { /* private fields */ }
Implementations§
source§impl<S> ThriftHiveMetastoreServer<S>
impl<S> ThriftHiveMetastoreServer<S>
pub fn new( inner: S, ) -> Server<Self, Identity, ThriftHiveMetastoreRequestRecv, DefaultMakeCodec<MakeTTHeaderCodec<MakeFramedCodec<MakeThriftCodec>>>, DefaultProvider>
Trait Implementations§
source§impl<T> Service<ServerContext, ThriftHiveMetastoreRequestRecv> for ThriftHiveMetastoreServer<T>
impl<T> Service<ServerContext, ThriftHiveMetastoreRequestRecv> for ThriftHiveMetastoreServer<T>
§type Response = ThriftHiveMetastoreResponseSend
type Response = ThriftHiveMetastoreResponseSend
Responses given by the service.
§type Error = ServerError
type Error = ServerError
Errors produced by the service.
source§async fn call<'s, 'cx>(
&'s self,
_cx: &'cx mut ServerContext,
req: ThriftHiveMetastoreRequestRecv,
) -> Result<Self::Response, Self::Error>
async fn call<'s, 'cx>( &'s self, _cx: &'cx mut ServerContext, req: ThriftHiveMetastoreRequestRecv, ) -> Result<Self::Response, Self::Error>
Process the request and return the response asynchronously.
Auto Trait Implementations§
impl<S> Freeze for ThriftHiveMetastoreServer<S>where
S: Freeze,
impl<S> RefUnwindSafe for ThriftHiveMetastoreServer<S>where
S: RefUnwindSafe,
impl<S> Send for ThriftHiveMetastoreServer<S>where
S: Send,
impl<S> Sync for ThriftHiveMetastoreServer<S>where
S: Sync,
impl<S> Unpin for ThriftHiveMetastoreServer<S>where
S: Unpin,
impl<S> UnwindSafe for ThriftHiveMetastoreServer<S>where
S: UnwindSafe,
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, Cx, Req> ServiceExt<Cx, Req> for Twhere
T: Service<Cx, Req>,
impl<T, Cx, Req> ServiceExt<Cx, Req> for Twhere
T: Service<Cx, Req>,
source§fn map_err<E, F>(self, f: F) -> MapErr<T, F>
fn map_err<E, F>(self, f: F) -> MapErr<T, F>
Maps this service’s error value to a different value. Read more
source§fn map_response<F, Response>(self, f: F) -> MapResponse<T, F>
fn map_response<F, Response>(self, f: F) -> MapResponse<T, F>
Maps this service’s response value to a different value. Read more