pub enum DequeueStatus {
Sleep(DequeueSleep),
Handle(DequeueHandle),
Skip(DequeueSkip),
Unknown(String),
}
Variants§
Trait Implementations§
Source§impl Debug for DequeueStatus
impl Debug for DequeueStatus
Source§impl FromRedisValue for DequeueStatus
impl FromRedisValue for DequeueStatus
Source§fn from_redis_value(v: &Value) -> RedisResult<Self>
fn from_redis_value(v: &Value) -> RedisResult<Self>
Given a redis
Value
this attempts to convert it into the given
destination type. If that fails because it’s not compatible an
appropriate error is generated.Source§fn from_redis_values(items: &[Value]) -> Result<Vec<Self>, RedisError>
fn from_redis_values(items: &[Value]) -> Result<Vec<Self>, RedisError>
Similar to
from_redis_value
but constructs a vector of objects
from another vector of values. This primarily exists internally
to customize the behavior for vectors of tuples.Auto Trait Implementations§
impl Freeze for DequeueStatus
impl RefUnwindSafe for DequeueStatus
impl Send for DequeueStatus
impl Sync for DequeueStatus
impl Unpin for DequeueStatus
impl UnwindSafe for DequeueStatus
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