Struct satex_layer::ArcMakeRouteServiceLayer
source · pub struct ArcMakeRouteServiceLayer(/* private fields */);Implementations§
source§impl ArcMakeRouteServiceLayer
impl ArcMakeRouteServiceLayer
pub fn new<M, L, ResBody, E>(make: M) -> Selfwhere
M: MakeRouteServiceLayer<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 ArcMakeRouteServiceLayer
impl Clone for ArcMakeRouteServiceLayer
source§fn clone(&self) -> ArcMakeRouteServiceLayer
fn clone(&self) -> ArcMakeRouteServiceLayer
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 ArcMakeRouteServiceLayer
impl Send for ArcMakeRouteServiceLayer
impl Sync for ArcMakeRouteServiceLayer
impl Unpin for ArcMakeRouteServiceLayer
impl !UnwindSafe for ArcMakeRouteServiceLayer
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