Struct aws_smithy_runtime::client::http::test_util::NeverTcpConnector
source · pub struct NeverTcpConnector;
Available on crate features
client
and test-util
and connector-hyper-0-14-x
only.Expand description
A TCP connector that never connects.
Implementations§
Trait Implementations§
source§impl Clone for NeverTcpConnector
impl Clone for NeverTcpConnector
source§fn clone(&self) -> NeverTcpConnector
fn clone(&self) -> NeverTcpConnector
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 Debug for NeverTcpConnector
impl Debug for NeverTcpConnector
source§impl Default for NeverTcpConnector
impl Default for NeverTcpConnector
source§fn default() -> NeverTcpConnector
fn default() -> NeverTcpConnector
Returns the “default value” for a type. Read more
source§impl Service<Uri> for NeverTcpConnector
impl Service<Uri> for NeverTcpConnector
§type Future = Pin<Box<dyn Future<Output = Result<<NeverTcpConnector as Service<Uri>>::Response, <NeverTcpConnector as Service<Uri>>::Error>> + Send + Sync>>
type Future = Pin<Box<dyn Future<Output = Result<<NeverTcpConnector as Service<Uri>>::Response, <NeverTcpConnector as Service<Uri>>::Error>> + Send + Sync>>
The future response value.
Auto Trait Implementations§
impl RefUnwindSafe for NeverTcpConnector
impl Send for NeverTcpConnector
impl Sync for NeverTcpConnector
impl Unpin for NeverTcpConnector
impl UnwindSafe for NeverTcpConnector
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<S, T> Connect for Swhere
S: Service<Uri, Response = T> + Send + 'static,
<S as Service<Uri>>::Error: Into<Box<dyn Error + Send + Sync>>,
<S as Service<Uri>>::Future: Unpin + Send,
T: AsyncRead + AsyncWrite + Connection + Unpin + Send + 'static,
impl<S, T> Connect for Swhere S: Service<Uri, Response = T> + Send + 'static, <S as Service<Uri>>::Error: Into<Box<dyn Error + Send + Sync>>, <S as Service<Uri>>::Future: Unpin + Send, T: AsyncRead + AsyncWrite + Connection + Unpin + Send + 'static,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.