pub struct CachedGeoProvider<P: GeoProvider> { /* private fields */ }Expand description
A simple in-memory caching wrapper for a GeoProvider
Implementations§
Source§impl<P: GeoProvider> CachedGeoProvider<P>
impl<P: GeoProvider> CachedGeoProvider<P>
Trait Implementations§
Source§impl<P: Debug + GeoProvider> Debug for CachedGeoProvider<P>
impl<P: Debug + GeoProvider> Debug for CachedGeoProvider<P>
Source§impl<P: GeoProvider> GeoProvider for CachedGeoProvider<P>
impl<P: GeoProvider> GeoProvider for CachedGeoProvider<P>
Auto Trait Implementations§
impl<P> !Freeze for CachedGeoProvider<P>
impl<P> !RefUnwindSafe for CachedGeoProvider<P>
impl<P> Send for CachedGeoProvider<P>where
P: Send,
impl<P> Sync for CachedGeoProvider<P>where
P: Sync,
impl<P> Unpin for CachedGeoProvider<P>where
P: Unpin,
impl<P> UnwindSafe for CachedGeoProvider<P>where
P: UnwindSafe,
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