Struct redis_driver::Eval
source · [−]pub struct Eval<'a, T: ScriptingCommands + ?Sized> { /* private fields */ }
Expand description
Builder for the eval command
Implementations
sourceimpl<'a, T: ScriptingCommands> Eval<'a, T>
impl<'a, T: ScriptingCommands> Eval<'a, T>
pub fn new(scripting_commands: &'a T, cmd: Command) -> Self
sourcepub fn keys<K, C>(self, keys: C) -> Selfwhere
K: Into<BulkString>,
C: SingleArgOrCollection<K>,
pub fn keys<K, C>(self, keys: C) -> Selfwhere
K: Into<BulkString>,
C: SingleArgOrCollection<K>,
All the keys accessed by the script.
sourcepub fn args<A, C>(self, args: C) -> Selfwhere
A: Into<BulkString>,
C: SingleArgOrCollection<A>,
pub fn args<A, C>(self, args: C) -> Selfwhere
A: Into<BulkString>,
C: SingleArgOrCollection<A>,
Additional input arguments that should not represent names of keys.
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for Eval<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for Eval<'a, T>where
T: Sync,
impl<'a, T: ?Sized> Sync for Eval<'a, T>where
T: Sync,
impl<'a, T: ?Sized> Unpin for Eval<'a, T>
impl<'a, T: ?Sized> UnwindSafe for Eval<'a, T>where
T: RefUnwindSafe,
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more