pub struct ClientCache { /* private fields */ }Implementations§
Source§impl ClientCache
impl ClientCache
pub fn new() -> Self
pub async fn get( &mut self, client: Arc<SecretClient>, ) -> Result<Arc<SecretClient>>
Trait Implementations§
Source§impl Clone for ClientCache
impl Clone for ClientCache
Source§fn clone(&self) -> ClientCache
fn clone(&self) -> ClientCache
Returns a duplicate 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 moreSource§impl Default for ClientCache
impl Default for ClientCache
Source§fn default() -> ClientCache
fn default() -> ClientCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientCache
impl !RefUnwindSafe for ClientCache
impl Send for ClientCache
impl Sync for ClientCache
impl Unpin for ClientCache
impl !UnwindSafe for ClientCache
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