pub struct ProxyConnector<C> { /* private fields */ }
Expand description
A wrapper around Proxy
s with a connector.
Implementations§
Trait Implementations§
Source§impl<C: Clone> Clone for ProxyConnector<C>
impl<C: Clone> Clone for ProxyConnector<C>
Source§fn clone(&self) -> ProxyConnector<C>
fn clone(&self) -> ProxyConnector<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<C: Debug> Debug for ProxyConnector<C>
impl<C: Debug> Debug for ProxyConnector<C>
Source§impl<C> Service<Uri> for ProxyConnector<C>
impl<C> Service<Uri> for ProxyConnector<C>
Source§type Future = Pin<Box<dyn Future<Output = Result<<ProxyConnector<C> as Service<Uri>>::Response, <ProxyConnector<C> as Service<Uri>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<ProxyConnector<C> as Service<Uri>>::Response, <ProxyConnector<C> as Service<Uri>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<C> !Freeze for ProxyConnector<C>
impl<C> RefUnwindSafe for ProxyConnector<C>where
C: RefUnwindSafe,
impl<C> Send for ProxyConnector<C>where
C: Send,
impl<C> Sync for ProxyConnector<C>where
C: Sync,
impl<C> Unpin for ProxyConnector<C>where
C: Unpin,
impl<C> UnwindSafe for ProxyConnector<C>where
C: 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