Struct tonic_web::GrpcWebLayer
source · 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.0.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§impl<S> Layer<S> for GrpcWebLayer
impl<S> Layer<S> for GrpcWebLayer
Auto Trait Implementations§
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> 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