aws_smithy_runtime_api::shared

Trait FromUnshared

Source
pub trait FromUnshared<Unshared> {
    // Required method
    fn from_unshared(value: Unshared) -> Self;
}
Expand description

Like the From trait, but for converting to a shared type.

See the module docs for information about shared types.

Required Methods§

Source

fn from_unshared(value: Unshared) -> Self

Creates a shared type from an unshared type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> FromUnshared<T> for SharedAsyncSleep
where T: AsyncSleep + 'static,

Source§

fn from_unshared(value: T) -> Self

Source§

impl<T> FromUnshared<T> for SharedTimeSource
where T: TimeSource + 'static,

Source§

fn from_unshared(value: T) -> Self

Implementors§

Source§

impl<T> FromUnshared<T> for SharedAuthScheme
where T: AuthScheme + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedAuthSchemeOptionResolver
where T: ResolveAuthSchemeOptions + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedDnsResolver
where T: ResolveDns + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedEndpointResolver
where T: ResolveEndpoint + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedHttpClient
where T: HttpClient + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedHttpConnector
where T: HttpConnector + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedIdentityCache
where T: ResolveCachedIdentity + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedIdentityResolver
where T: ResolveIdentity + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedInterceptor
where T: Intercept + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedRetryClassifier
where T: ClassifyRetry + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedRetryStrategy
where T: RetryStrategy + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedConfigValidator
where T: ValidateConfig + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedRuntimePlugin
where T: RuntimePlugin + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedRequestSerializer
where T: SerializeRequest + 'static,

Available on crate feature client only.
Source§

impl<T> FromUnshared<T> for SharedResponseDeserializer
where T: DeserializeResponse + 'static,

Available on crate feature client only.