pub struct RefreshLocks(/* private fields */);Expand description
Per-(upstream_name, subject) mutex pool.
Entries are created lazily on first access and are never removed (the number of
distinct (upstream, subject) pairs is bounded by the number of configured upstreams
times the number of users, which is small in a homelab context).
Implementations§
Trait Implementations§
Source§impl Default for RefreshLocks
impl Default for RefreshLocks
Source§fn default() -> RefreshLocks
fn default() -> RefreshLocks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RefreshLocks
impl !RefUnwindSafe for RefreshLocks
impl Send for RefreshLocks
impl Sync for RefreshLocks
impl Unpin for RefreshLocks
impl UnsafeUnpin for RefreshLocks
impl !UnwindSafe for RefreshLocks
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