pub struct RegionCache(pub(crate) HashMap<String, String>);Expand description
A HashMap-backed cache of bucket name -> region string.
Construct once and pass by &mut to get_or_detect.
Tuple Fields§
§0: HashMap<String, String>Implementations§
Source§impl RegionCache
impl RegionCache
Auto Trait Implementations§
impl Freeze for RegionCache
impl RefUnwindSafe for RegionCache
impl Send for RegionCache
impl Sync for RegionCache
impl Unpin for RegionCache
impl UnsafeUnpin for RegionCache
impl UnwindSafe for RegionCache
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