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