pub struct GrpcProtocol { /* private fields */ }Implementations§
Source§impl GrpcProtocol
impl GrpcProtocol
Trait Implementations§
Source§impl Default for GrpcProtocol
impl Default for GrpcProtocol
Source§impl Protocol for GrpcProtocol
impl Protocol for GrpcProtocol
type Invoker = GrpcInvoker
type Exporter = GrpcExporter<<GrpcProtocol as Protocol>::Invoker>
fn destroy(&self)
fn refer<'async_trait>(
self,
url: Url,
) -> Pin<Box<dyn Future<Output = Self::Invoker> + Send + 'async_trait>>where
Self: 'async_trait,
fn export<'async_trait>(
self,
url: Url,
) -> Pin<Box<dyn Future<Output = Self::Exporter> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for GrpcProtocol
impl !RefUnwindSafe for GrpcProtocol
impl Send for GrpcProtocol
impl Sync for GrpcProtocol
impl Unpin for GrpcProtocol
impl !UnwindSafe for GrpcProtocol
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