Struct tonic::GrpcMethod
source · pub struct GrpcMethod<'a> { /* private fields */ }
Expand description
A gRPC Method info extension.
Implementations§
Trait Implementations§
source§impl<'a> Clone for GrpcMethod<'a>
impl<'a> Clone for GrpcMethod<'a>
source§fn clone(&self) -> GrpcMethod<'a>
fn clone(&self) -> GrpcMethod<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for GrpcMethod<'a>
impl<'a> RefUnwindSafe for GrpcMethod<'a>
impl<'a> Send for GrpcMethod<'a>
impl<'a> Sync for GrpcMethod<'a>
impl<'a> Unpin for GrpcMethod<'a>
impl<'a> UnwindSafe for GrpcMethod<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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