pub struct ArcRouteLayer(/* private fields */);
Implementations§
Source§impl ArcRouteLayer
impl ArcRouteLayer
Trait Implementations§
Source§impl Clone for ArcRouteLayer
impl Clone for ArcRouteLayer
Source§fn clone(&self) -> ArcRouteLayer
fn clone(&self) -> ArcRouteLayer
Returns a duplicate 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 Layer<RouteService> for ArcRouteLayer
impl Layer<RouteService> for ArcRouteLayer
Source§type Service = RouteService
type Service = RouteService
The wrapped service
Source§fn layer(&self, service: RouteService) -> Self::Service
fn layer(&self, service: RouteService) -> 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 ArcRouteLayer
impl !RefUnwindSafe for ArcRouteLayer
impl Send for ArcRouteLayer
impl Sync for ArcRouteLayer
impl Unpin for ArcRouteLayer
impl !UnwindSafe for ArcRouteLayer
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