Enum redlock::types::Error [] [src]

pub enum Error {
    CannotObtainLock,
    RedlockConn,
    NotEnoughMasters,
    InvalidLock,
    UnlockFailed,
}

Redlock Error

Variants

CannotObtainLock

Failed to acquire lock

RedlockConn

Error communicating with 1 or more Redis masters

NotEnoughMasters

Failed to connect to enough Redis masters

InvalidLock

Lock wasn't valid (may have expired)

UnlockFailed

Unlock instance failed

Trait Implementations

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Error

fn clone(&self) -> Error

fn clone_from(&mut self, source: &Self)

impl Copy for Error

impl Eq for Error

impl PartialEq for Error

fn eq(&self, __arg_0: &Error) -> bool

fn ne(&self, __arg_0: &Error) -> bool