Enum redis_driver::ArgumentFlag
source · pub enum ArgumentFlag {
Optional,
Multiple,
MultipleToken,
}
Expand description
Flag for a command argument
Variants
Optional
denotes that the argument is optional (for example, the GET clause of the SET command).
Multiple
denotes that the argument may be repeated (such as the key argument of DEL).
MultipleToken
denotes the possible repetition of the argument with its preceding token (see SORT’s GET pattern clause).
Trait Implementations
sourceimpl Debug for ArgumentFlag
impl Debug for ArgumentFlag
Auto Trait Implementations
impl RefUnwindSafe for ArgumentFlag
impl Send for ArgumentFlag
impl Sync for ArgumentFlag
impl Unpin for ArgumentFlag
impl UnwindSafe for ArgumentFlag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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