pub enum RedLockError {
Io(Error),
Redis(RedisError),
Unavailable,
}
Variants§
Io(Error)
Redis(RedisError)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedLockError
impl !RefUnwindSafe for RedLockError
impl Send for RedLockError
impl Sync for RedLockError
impl Unpin for RedLockError
impl !UnwindSafe for RedLockError
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