Struct embedded_redis::commands::helpers::CmdInt
source · pub struct CmdInt { /* private fields */ }
Expand description
Helper for casting integers to frame types
Implementations§
source§impl CmdInt
impl CmdInt
pub fn new(inner: usize) -> Self
pub fn to_blob(&self) -> Resp3Frame
pub fn to_bulk_string(&self) -> Resp2Frame
Auto Trait Implementations§
impl RefUnwindSafe for CmdInt
impl Send for CmdInt
impl Sync for CmdInt
impl Unpin for CmdInt
impl UnwindSafe for CmdInt
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