pub struct CommandGetKeysAndFlags { /* private fields */ }Expand description
COMMAND GETKEYSANDFLAGS command [arg [arg …]]
Asks Redis to extract both keys and key-access flags from an arbitrary command invocation.
Implementations§
Source§impl CommandGetKeysAndFlags
impl CommandGetKeysAndFlags
Sourcepub fn new(command: impl AsRef<[u8]>) -> CommandGetKeysAndFlags
pub fn new(command: impl AsRef<[u8]>) -> CommandGetKeysAndFlags
Create an inspection request for command.
Sourcepub fn arg(self, argument: impl AsRef<[u8]>) -> CommandGetKeysAndFlags
pub fn arg(self, argument: impl AsRef<[u8]>) -> CommandGetKeysAndFlags
Append one binary-safe argument from the inspected invocation.
Sourcepub fn args<A, I>(self, arguments: I) -> CommandGetKeysAndFlags
pub fn args<A, I>(self, arguments: I) -> CommandGetKeysAndFlags
Append multiple binary-safe arguments from the inspected invocation.
Trait Implementations§
Source§impl Clone for CommandGetKeysAndFlags
impl Clone for CommandGetKeysAndFlags
Source§fn clone(&self) -> CommandGetKeysAndFlags
fn clone(&self) -> CommandGetKeysAndFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Command for CommandGetKeysAndFlags
impl Command for CommandGetKeysAndFlags
Source§type Response = Vec<CommandKeyFlags>
type Response = Vec<CommandKeyFlags>
The typed response this command produces.
Source§fn parse_response(
&self,
frame: Frame,
) -> Result<<CommandGetKeysAndFlags as Command>::Response, RedisError>
fn parse_response( &self, frame: Frame, ) -> Result<<CommandGetKeysAndFlags as Command>::Response, RedisError>
Parse a RESP response frame into the typed response. Read more
Source§fn idempotent(&self) -> bool
fn idempotent(&self) -> bool
Whether this command is safe to retry on connection errors. Read more
Source§fn is_blocking(&self) -> bool
fn is_blocking(&self) -> bool
Whether this command blocks the connection until data is available or a
timeout elapses –
BLPOP, BRPOP, BLMOVE, BZPOPMIN/BZPOPMAX, and
XREAD/XREADGROUP with BLOCK. Read moreAuto Trait Implementations§
impl !Freeze for CommandGetKeysAndFlags
impl RefUnwindSafe for CommandGetKeysAndFlags
impl Send for CommandGetKeysAndFlags
impl Sync for CommandGetKeysAndFlags
impl Unpin for CommandGetKeysAndFlags
impl UnsafeUnpin for CommandGetKeysAndFlags
impl UnwindSafe for CommandGetKeysAndFlags
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<C> RequestDeadline for Cwhere
C: Command,
impl<C> RequestDeadline for Cwhere
C: Command,
Source§fn request_deadline(&self) -> Option<Instant>
fn request_deadline(&self) -> Option<Instant>
Return the request’s absolute deadline, if it carries one.