pub struct HrpcServiceToHttpLayer;Expand description
Layer that can be used to transform a HrpcService to HrpcServiceToHttp.
Trait Implementations§
Source§impl Layer<HrpcService> for HrpcServiceToHttpLayer
impl Layer<HrpcService> for HrpcServiceToHttpLayer
Source§type Service = HrpcServiceToHttp
type Service = HrpcServiceToHttp
The wrapped service
Source§fn layer(&self, inner: HrpcService) -> Self::Service
fn layer(&self, inner: HrpcService) -> Self::Service
Wrap the given service with the middleware, returning a new service
that has been decorated with the middleware.
Auto Trait Implementations§
impl Freeze for HrpcServiceToHttpLayer
impl RefUnwindSafe for HrpcServiceToHttpLayer
impl Send for HrpcServiceToHttpLayer
impl Sync for HrpcServiceToHttpLayer
impl Unpin for HrpcServiceToHttpLayer
impl UnsafeUnpin for HrpcServiceToHttpLayer
impl UnwindSafe for HrpcServiceToHttpLayer
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