pub struct EraseResp<T> {
pub svc: T,
}Fields§
§svc: TImplementations§
Trait Implementations§
Source§impl<T: AsyncMakeService> AsyncMakeService for EraseResp<T>
impl<T: AsyncMakeService> AsyncMakeService for EraseResp<T>
Source§type Service = EraseResp<<T as AsyncMakeService>::Service>
type Service = EraseResp<<T as AsyncMakeService>::Service>
The type of service this factory creates.
Source§type Error = <T as AsyncMakeService>::Error
type Error = <T as AsyncMakeService>::Error
The type of error that can occur during service creation.
Source§impl<T: MakeService> MakeService for EraseResp<T>
impl<T: MakeService> MakeService for EraseResp<T>
Source§type Service = EraseResp<<T as MakeService>::Service>
type Service = EraseResp<<T as MakeService>::Service>
The type of service this factory creates.
Source§type Error = <T as MakeService>::Error
type Error = <T as MakeService>::Error
The type of error that can occur during service creation.
Auto Trait Implementations§
impl<T> Freeze for EraseResp<T>where
T: Freeze,
impl<T> RefUnwindSafe for EraseResp<T>where
T: RefUnwindSafe,
impl<T> Send for EraseResp<T>where
T: Send,
impl<T> Sync for EraseResp<T>where
T: Sync,
impl<T> Unpin for EraseResp<T>where
T: Unpin,
impl<T> UnwindSafe for EraseResp<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