Trait aws_smithy_runtime_api::shared::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.

Object Safety§

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.