Struct aws_smithy_runtime_api::client::auth::SharedAuthScheme
source · pub struct SharedAuthScheme(/* private fields */);
Expand description
Container for a shared auth scheme implementation.
Implementations§
sourcepub fn new(auth_scheme: impl AuthScheme + 'static) -> Self
pub fn new(auth_scheme: impl AuthScheme + 'static) -> Self
Creates a new SharedAuthScheme
from the given auth scheme.
Trait Implementations§
source§fn scheme_id(&self) -> AuthSchemeId
fn scheme_id(&self) -> AuthSchemeId
Returns the unique identifier associated with this auth scheme. Read more
source§fn identity_resolver(
&self,
identity_resolvers: &dyn GetIdentityResolver,
) -> Option<SharedIdentityResolver>
fn identity_resolver( &self, identity_resolvers: &dyn GetIdentityResolver, ) -> Option<SharedIdentityResolver>
Returns the identity resolver that can resolve an identity for this scheme, if one is available. Read more
source§fn clone(&self) -> SharedAuthScheme
fn clone(&self) -> SharedAuthScheme
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 moreCreates a shared type from an unshared type.
Auto Trait Implementations§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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>
Creates a shared type from an unshared type.