pub struct RedisMutexProvider { /* private fields */ }
Implementations§
Source§impl RedisMutexProvider
impl RedisMutexProvider
pub fn new( provider_id: String, pool: Pool<RedisConnectionManager>, ) -> RedisMutexProvider
Trait Implementations§
Source§impl Clone for RedisMutexProvider
impl Clone for RedisMutexProvider
Source§fn clone(&self) -> RedisMutexProvider
fn clone(&self) -> RedisMutexProvider
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 RedisMutexProvider
impl Debug for RedisMutexProvider
Source§impl<T, K> MutexProvider<T, K> for RedisMutexProvider
impl<T, K> MutexProvider<T, K> for RedisMutexProvider
Auto Trait Implementations§
impl Freeze for RedisMutexProvider
impl !RefUnwindSafe for RedisMutexProvider
impl Send for RedisMutexProvider
impl Sync for RedisMutexProvider
impl Unpin for RedisMutexProvider
impl !UnwindSafe for RedisMutexProvider
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