Struct bonsaidb::keystorage::s3::aws_sdk_s3::config::SharedInterceptor
pub struct SharedInterceptor { /* private fields */ }
Expand description
Interceptor wrapper that may be shared
Implementations§
pub fn new<T>(interceptor: T) -> SharedInterceptorwhere
T: Interceptor + 'static,
pub fn new<T>(interceptor: T) -> SharedInterceptorwhere T: Interceptor + 'static,
Create a new SharedInterceptor
from Interceptor
.
Trait Implementations§
§fn as_ref(&self) -> &(dyn Interceptor + 'static)
fn as_ref(&self) -> &(dyn Interceptor + 'static)
Converts this type into a shared reference of the (usually inferred) input type.
§fn clone(&self) -> SharedInterceptor
fn clone(&self) -> SharedInterceptor
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§type Target = Arc<dyn Interceptor>
type Target = Arc<dyn Interceptor>
The resulting type after dereferencing.
§fn deref(&self) -> &<SharedInterceptor as Deref>::Target
fn deref(&self) -> &<SharedInterceptor as Deref>::Target
Dereferences the value.
Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more