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
source§type Future = Pin<Box<dyn Future<Output = Result<<NeverTcpConnector as Service<Uri>>::Response, <NeverTcpConnector as Service<Uri>>::Error>> + Sync + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<NeverTcpConnector as Service<Uri>>::Response, <NeverTcpConnector as Service<Uri>>::Error>> + Sync + Send>>
The future response value.
Auto Trait Implementations§
impl Freeze for NeverTcpConnector
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.