pub struct TripleServer<T> { /* private fields */ }Implementations§
Source§impl<T> TripleServer<T>
impl<T> TripleServer<T>
Source§impl<T> TripleServer<T>where
T: Codec,
impl<T> TripleServer<T>where
T: Codec,
pub async fn client_streaming<S, B>( &mut self, service: S, req: Request<B>, ) -> Response<BoxBody>
pub async fn bidi_streaming<S, B>( &mut self, service: S, req: Request<B>, ) -> Response<BoxBody>
pub async fn server_streaming<S, B>( &mut self, service: S, req: Request<B>, ) -> Response<BoxBody>
pub async fn unary<S, B>( &mut self, service: S, req: Request<B>, ) -> Response<BoxBody>
Trait Implementations§
Source§impl<T> BusinessConfig for TripleServer<T>
impl<T> BusinessConfig for TripleServer<T>
Auto Trait Implementations§
impl<T> Freeze for TripleServer<T>where
T: Freeze,
impl<T> RefUnwindSafe for TripleServer<T>where
T: RefUnwindSafe,
impl<T> Send for TripleServer<T>where
T: Send,
impl<T> Sync for TripleServer<T>where
T: Sync,
impl<T> Unpin for TripleServer<T>where
T: Unpin,
impl<T> UnwindSafe for TripleServer<T>where
T: 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> 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