Enum redis_protocol::resp3::types::RespVersion
source · [−]pub enum RespVersion {
RESP2,
RESP3,
}
Expand description
The RESP version used in the HELLO
request.
Variants
RESP2
RESP3
Implementations
sourceimpl RespVersion
impl RespVersion
Trait Implementations
sourceimpl Clone for RespVersion
impl Clone for RespVersion
sourcefn clone(&self) -> RespVersion
fn clone(&self) -> RespVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RespVersion
impl Debug for RespVersion
sourceimpl PartialEq<RespVersion> for RespVersion
impl PartialEq<RespVersion> for RespVersion
impl Eq for RespVersion
impl StructuralEq for RespVersion
impl StructuralPartialEq for RespVersion
Auto Trait Implementations
impl RefUnwindSafe for RespVersion
impl Send for RespVersion
impl Sync for RespVersion
impl Unpin for RespVersion
impl UnwindSafe for RespVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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