pub enum Arg<D> {
Simple(D),
Cursor,
}
Expand description
An argument to a redis command
Variants
Simple(D)
A normal argument
Cursor
A cursor argument created from cursor_arg()
Trait Implementations
Auto Trait Implementations
impl<D> RefUnwindSafe for Arg<D> where
D: RefUnwindSafe,
impl<D> Send for Arg<D> where
D: Send,
impl<D> Sync for Arg<D> where
D: Sync,
impl<D> Unpin for Arg<D> where
D: Unpin,
impl<D> UnwindSafe for Arg<D> where
D: UnwindSafe,
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