Struct service_async::AsyncMakeServiceWrapper
source · #[repr(transparent)]pub struct AsyncMakeServiceWrapper<T>(pub T);
Expand description
Impl AsyncMakeService where T: MakeService.
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: MakeService> AsyncMakeService for AsyncMakeServiceWrapper<T>
impl<T: MakeService> AsyncMakeService for AsyncMakeServiceWrapper<T>
source§impl<T: Clone> Clone for AsyncMakeServiceWrapper<T>
impl<T: Clone> Clone for AsyncMakeServiceWrapper<T>
source§fn clone(&self) -> AsyncMakeServiceWrapper<T>
fn clone(&self) -> AsyncMakeServiceWrapper<T>
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<T: Debug> Debug for AsyncMakeServiceWrapper<T>
impl<T: Debug> Debug for AsyncMakeServiceWrapper<T>
source§impl<T: Hash> Hash for AsyncMakeServiceWrapper<T>
impl<T: Hash> Hash for AsyncMakeServiceWrapper<T>
source§impl<T: Ord> Ord for AsyncMakeServiceWrapper<T>
impl<T: Ord> Ord for AsyncMakeServiceWrapper<T>
source§fn cmp(&self, other: &AsyncMakeServiceWrapper<T>) -> Ordering
fn cmp(&self, other: &AsyncMakeServiceWrapper<T>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq> PartialEq for AsyncMakeServiceWrapper<T>
impl<T: PartialEq> PartialEq for AsyncMakeServiceWrapper<T>
source§fn eq(&self, other: &AsyncMakeServiceWrapper<T>) -> bool
fn eq(&self, other: &AsyncMakeServiceWrapper<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: PartialOrd> PartialOrd for AsyncMakeServiceWrapper<T>
impl<T: PartialOrd> PartialOrd for AsyncMakeServiceWrapper<T>
source§fn partial_cmp(&self, other: &AsyncMakeServiceWrapper<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &AsyncMakeServiceWrapper<T>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Copy> Copy for AsyncMakeServiceWrapper<T>
impl<T: Eq> Eq for AsyncMakeServiceWrapper<T>
impl<T> StructuralEq for AsyncMakeServiceWrapper<T>
impl<T> StructuralPartialEq for AsyncMakeServiceWrapper<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for AsyncMakeServiceWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncMakeServiceWrapper<T>where
T: Send,
impl<T> Sync for AsyncMakeServiceWrapper<T>where
T: Sync,
impl<T> Unpin for AsyncMakeServiceWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for AsyncMakeServiceWrapper<T>where
T: UnwindSafe,
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