pub struct RetryMeta(_);
Implementations
sourceimpl RetryMeta
impl RetryMeta
pub fn from_conn<K: ToRedisArgs>(conn: &Connection, key: K) -> OcyResult<Self>
pub fn id(&self) -> u64
pub fn fields() -> &'static [Field]
pub fn retry_action(&self) -> RetryAction
Trait Implementations
sourceimpl FromRedisValue for RetryMeta
impl FromRedisValue for RetryMeta
sourcefn 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. Read moresourcefn from_redis_values(items: &[Value]) -> Result<Vec<Self, Global>, RedisError>
fn from_redis_values(items: &[Value]) -> Result<Vec<Self, Global>, 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. Read moreAuto Trait Implementations
impl RefUnwindSafe for RetryMeta
impl Send for RetryMeta
impl Sync for RetryMeta
impl Unpin for RetryMeta
impl UnwindSafe for RetryMeta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more