pub enum RedisResult {
Nil,
Status(String),
Int64(i64),
Binary(Payload),
}
Expand description
A return type for the general-purpose execute
function.
Variants§
Trait Implementations§
Source§impl Clone for RedisResult
impl Clone for RedisResult
Source§fn clone(&self) -> RedisResult
fn clone(&self) -> RedisResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RedisResult
impl Debug for RedisResult
Source§impl Hash for RedisResult
impl Hash for RedisResult
Source§impl PartialEq for RedisResult
impl PartialEq for RedisResult
impl Eq for RedisResult
Auto Trait Implementations§
impl Freeze for RedisResult
impl RefUnwindSafe for RedisResult
impl Send for RedisResult
impl Sync for RedisResult
impl Unpin for RedisResult
impl UnwindSafe for RedisResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)