pub struct ArcMakeRouteLayer(/* private fields */);Implementations§
Source§impl ArcMakeRouteLayer
impl ArcMakeRouteLayer
pub fn new<M, L, S, E, ResBody>(make: M) -> Selfwhere
M: MakeRouteLayer<Layer = L> + Send + Sync + 'static,
L: Layer<RouteService, Service = S> + Send + Sync + 'static,
S: Service<Request<Body>, Response = Response<ResBody>, Error = E> + Clone + Send + Sync + 'static,
E: Into<BoxError>,
ResBody: Body<Data = Bytes> + Send + 'static,
ResBody::Error: Into<BoxError>,
Trait Implementations§
Source§impl Clone for ArcMakeRouteLayer
impl Clone for ArcMakeRouteLayer
Source§fn clone(&self) -> ArcMakeRouteLayer
fn clone(&self) -> ArcMakeRouteLayer
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 MakeRouteLayer for ArcMakeRouteLayer
impl MakeRouteLayer for ArcMakeRouteLayer
Auto Trait Implementations§
impl Freeze for ArcMakeRouteLayer
impl !RefUnwindSafe for ArcMakeRouteLayer
impl Send for ArcMakeRouteLayer
impl Sync for ArcMakeRouteLayer
impl Unpin for ArcMakeRouteLayer
impl !UnwindSafe for ArcMakeRouteLayer
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