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,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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