pub struct Grpc<S> { /* private fields */ }Expand description
Middleware that adds tracing to a Service that handles gRPC requests.
Trait Implementations§
Source§impl<S, ReqBody, ResBody> Service<Request<ReqBody>> for Grpc<S>
impl<S, ReqBody, ResBody> Service<Request<ReqBody>> for Grpc<S>
Auto Trait Implementations§
impl<S> Freeze for Grpc<S>where
S: Freeze,
impl<S> RefUnwindSafe for Grpc<S>where
S: RefUnwindSafe,
impl<S> Send for Grpc<S>where
S: Send,
impl<S> Sync for Grpc<S>where
S: Sync,
impl<S> Unpin for Grpc<S>where
S: Unpin,
impl<S> UnwindSafe for Grpc<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