Enum spin_sdk::redis::RedisResult
source · 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 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