pub struct ArcHyperService {
pub shared: Arc<dyn SharedHyperService<Request<SgBody>, Response = Response<SgBody>, Error = Infallible, Future = BoxFuture<'static, Result<Response<SgBody>, Infallible>>> + Send + Sync>,
}Expand description
a service that can be shared between threads
Fields§
Implementations§
Trait Implementations§
source§impl Clone for ArcHyperService
impl Clone for ArcHyperService
source§impl Debug for ArcHyperService
impl Debug for ArcHyperService
source§impl Service<Request<SgBody>> for ArcHyperService
impl Service<Request<SgBody>> for ArcHyperService
Auto Trait Implementations§
impl Freeze for ArcHyperService
impl !RefUnwindSafe for ArcHyperService
impl Send for ArcHyperService
impl Sync for ArcHyperService
impl Unpin for ArcHyperService
impl !UnwindSafe for ArcHyperService
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)