pub struct GrpcWebClientLayer { /* private fields */ }
Expand description
Layer implementing the grpc-web protocol for clients.
Implementations§
source§impl GrpcWebClientLayer
impl GrpcWebClientLayer
sourcepub fn new() -> GrpcWebClientLayer
pub fn new() -> GrpcWebClientLayer
Create a new grpc-web for clients layer.
Trait Implementations§
source§impl Clone for GrpcWebClientLayer
impl Clone for GrpcWebClientLayer
source§fn clone(&self) -> GrpcWebClientLayer
fn clone(&self) -> GrpcWebClientLayer
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 GrpcWebClientLayer
impl Debug for GrpcWebClientLayer
source§impl Default for GrpcWebClientLayer
impl Default for GrpcWebClientLayer
source§fn default() -> GrpcWebClientLayer
fn default() -> GrpcWebClientLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GrpcWebClientLayer
impl RefUnwindSafe for GrpcWebClientLayer
impl Send for GrpcWebClientLayer
impl Sync for GrpcWebClientLayer
impl Unpin for GrpcWebClientLayer
impl UnwindSafe for GrpcWebClientLayer
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