pub struct GrpcWebLayer { /* private fields */ }
Expand description
Layer implementing the grpc-web protocol.
Implementations§
source§impl GrpcWebLayer
impl GrpcWebLayer
sourcepub fn new() -> GrpcWebLayer
pub fn new() -> GrpcWebLayer
Create a new grpc-web layer.
Trait Implementations§
source§impl Clone for GrpcWebLayer
impl Clone for GrpcWebLayer
source§fn clone(&self) -> GrpcWebLayer
fn clone(&self) -> GrpcWebLayer
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GrpcWebLayer
impl Debug for GrpcWebLayer
source§impl Default for GrpcWebLayer
impl Default for GrpcWebLayer
source§fn default() -> GrpcWebLayer
fn default() -> GrpcWebLayer
Returns the “default value” for a type. Read more
source§impl<S> Layer<S> for GrpcWebLayer
impl<S> Layer<S> for GrpcWebLayer
Auto Trait Implementations§
impl Freeze for GrpcWebLayer
impl RefUnwindSafe for GrpcWebLayer
impl Send for GrpcWebLayer
impl Sync for GrpcWebLayer
impl Unpin for GrpcWebLayer
impl UnwindSafe for GrpcWebLayer
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