pub struct HyperTransport { /* private fields */ }Expand description
A type-erased Hyper request handler.
Trait Implementations§
Source§impl Clone for HyperTransport
impl Clone for HyperTransport
Source§fn clone(&self) -> HyperTransport
fn clone(&self) -> HyperTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HyperTransport
impl Debug for HyperTransport
Source§impl From<HyperTransport> for DynamicService<HttpRequest, Result<HttpResponse>>
impl From<HyperTransport> for DynamicService<HttpRequest, Result<HttpResponse>>
Source§fn from(transport: HyperTransport) -> Self
fn from(transport: HyperTransport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HyperTransport
impl !UnwindSafe for HyperTransport
impl Freeze for HyperTransport
impl Send for HyperTransport
impl Sync for HyperTransport
impl Unpin for HyperTransport
impl UnsafeUnpin for HyperTransport
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§impl<In, Out, T> DynamicServiceExt<In, Out> for T
impl<In, Out, T> DynamicServiceExt<In, Out> for T
Source§fn into_dynamic(self) -> DynamicService<In, Out>
fn into_dynamic(self) -> DynamicService<In, Out>
Converts this service into a type-erased
DynamicService.