pub struct StreamReadReply<S: FromRedisValue, T: FromRedisValue>(pub Vec<StreamItems<S, T>>);Tuple Fields§
§0: Vec<StreamItems<S, T>>Trait Implementations§
Source§impl<S: Debug + FromRedisValue, T: Debug + FromRedisValue> Debug for StreamReadReply<S, T>
impl<S: Debug + FromRedisValue, T: Debug + FromRedisValue> Debug for StreamReadReply<S, T>
Source§impl<S, T> FromRedisValue for StreamReadReply<S, T>
impl<S, T> FromRedisValue for StreamReadReply<S, T>
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<S, T> Freeze for StreamReadReply<S, T>
impl<S, T> !RefUnwindSafe for StreamReadReply<S, T>
impl<S, T> Send for StreamReadReply<S, T>
impl<S, T> Sync for StreamReadReply<S, T>
impl<S, T> Unpin for StreamReadReply<S, T>
impl<S, T> !UnwindSafe for StreamReadReply<S, T>
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