Struct bonsaidb::keystorage::s3::aws_sdk_s3::config::endpoint::SharedEndpointResolver
pub struct SharedEndpointResolver<T>(/* private fields */);
Expand description
Endpoint Resolver wrapper that may be shared
Implementations§
pub fn new(
resolve_endpoint: impl ResolveEndpoint<T> + 'static
) -> SharedEndpointResolver<T>
pub fn new( resolve_endpoint: impl ResolveEndpoint<T> + 'static ) -> SharedEndpointResolver<T>
Create a new SharedEndpointResolver
from ResolveEndpoint
Trait Implementations§
§fn as_ref(&self) -> &(dyn ResolveEndpoint<T> + 'static)
fn as_ref(&self) -> &(dyn ResolveEndpoint<T> + 'static)
Converts this type into a shared reference of the (usually inferred) input type.
§fn clone(&self) -> SharedEndpointResolver<T>
fn clone(&self) -> SharedEndpointResolver<T>
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 more§fn from(
resolve_endpoint: Arc<dyn ResolveEndpoint<T>>
) -> SharedEndpointResolver<T>
fn from( resolve_endpoint: Arc<dyn ResolveEndpoint<T>> ) -> SharedEndpointResolver<T>
Converts to this type from the input type.
§fn resolve_endpoint(&self, params: &T) -> Result<Endpoint, ResolveEndpointError>
fn resolve_endpoint(&self, params: &T) -> Result<Endpoint, ResolveEndpointError>
Given some endpoint parameters, resolve an endpoint or return an error when resolution is
impossible.
§type Storer = StoreReplace<SharedEndpointResolver<T>>
type Storer = StoreReplace<SharedEndpointResolver<T>>
Specify how an item is stored in the config bag, e.g. [
StoreReplace
] and [StoreAppend
]Auto Trait Implementations§
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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