pub struct Cache<T: Clone + Debug + Send> { /* private fields */ }Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Cache<T>
impl<T> !RefUnwindSafe for Cache<T>
impl<T> !UnwindSafe for Cache<T>
impl<T> Send for Cache<T>
impl<T> Sync for Cache<T>
impl<T> Unpin for Cache<T>
impl<T> UnsafeUnpin for Cache<T>where
Box<dyn Fn() -> Pin<Box<dyn Future<Output = Result<T, Error>> + Send>> + Send + Sync>: UnsafeUnpin,
ArcSwapAny<Option<Arc<T>>>: UnsafeUnpin,
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