Struct spacegate_kernel::helper_layers::route::RouterService
source · pub struct RouterService<S, R, F>where
R: Router,{ /* private fields */ }Implementations§
Trait Implementations§
source§impl<S: Clone, R, F: Clone> Clone for RouterService<S, R, F>
impl<S: Clone, R, F: Clone> Clone for RouterService<S, R, F>
source§fn clone(&self) -> RouterService<S, R, F>
fn clone(&self) -> RouterService<S, R, F>
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 moresource§impl<S, R, F> Service<Request<SgBody>> for RouterService<S, R, F>where
R: Router + Send + Sync + 'static,
R::Index: Send + Sync + 'static + Clone,
S: Index<R::Index>,
S::Output: Service<Request<SgBody>, Response = Response<SgBody>, Error = Infallible> + Send + 'static,
F: Service<Request<SgBody>, Response = Response<SgBody>, Error = Infallible> + Send + 'static,
<F as Service<Request<SgBody>>>::Future: Send,
<S::Output as Service<Request<SgBody>>>::Future: Send,
impl<S, R, F> Service<Request<SgBody>> for RouterService<S, R, F>where
R: Router + Send + Sync + 'static,
R::Index: Send + Sync + 'static + Clone,
S: Index<R::Index>,
S::Output: Service<Request<SgBody>, Response = Response<SgBody>, Error = Infallible> + Send + 'static,
F: Service<Request<SgBody>, Response = Response<SgBody>, Error = Infallible> + Send + 'static,
<F as Service<Request<SgBody>>>::Future: Send,
<S::Output as Service<Request<SgBody>>>::Future: Send,
Auto Trait Implementations§
impl<S, R, F> Freeze for RouterService<S, R, F>
impl<S, R, F> RefUnwindSafe for RouterService<S, R, F>
impl<S, R, F> Send for RouterService<S, R, F>
impl<S, R, F> Sync for RouterService<S, R, F>
impl<S, R, F> Unpin for RouterService<S, R, F>
impl<S, R, F> UnwindSafe for RouterService<S, R, F>
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