pub struct ConcurrencyKey(/* private fields */);Expand description
A typed concurrency key that ensures runs with the same key don’t run in parallel.
Implementations§
Trait Implementations§
Source§impl Clone for ConcurrencyKey
impl Clone for ConcurrencyKey
Source§fn clone(&self) -> ConcurrencyKey
fn clone(&self) -> ConcurrencyKey
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 Debug for ConcurrencyKey
impl Debug for ConcurrencyKey
Source§impl Display for ConcurrencyKey
impl Display for ConcurrencyKey
Source§impl From<&str> for ConcurrencyKey
impl From<&str> for ConcurrencyKey
Source§impl From<String> for ConcurrencyKey
impl From<String> for ConcurrencyKey
Source§impl Hash for ConcurrencyKey
impl Hash for ConcurrencyKey
Source§impl PartialEq for ConcurrencyKey
impl PartialEq for ConcurrencyKey
impl Eq for ConcurrencyKey
impl StructuralPartialEq for ConcurrencyKey
Auto Trait Implementations§
impl Freeze for ConcurrencyKey
impl RefUnwindSafe for ConcurrencyKey
impl Send for ConcurrencyKey
impl Sync for ConcurrencyKey
impl Unpin for ConcurrencyKey
impl UnsafeUnpin for ConcurrencyKey
impl UnwindSafe for ConcurrencyKey
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