Struct redis_driver::PreparedCommand
source · pub struct PreparedCommand<'a, T, R>where
R: FromValue,{
pub phantom: PhantomData<R>,
pub executor: &'a mut T,
pub command: Command,
}
Fields
phantom: PhantomData<R>
executor: &'a mut T
command: Command
Implementations
Trait Implementations
sourceimpl<'a, R> ClientPreparedCommand<'a, R> for PreparedCommand<'a, Client, R>where
R: FromValue + Send + 'a,
impl<'a, R> ClientPreparedCommand<'a, R> for PreparedCommand<'a, Client, R>where
R: FromValue + Send + 'a,
sourceimpl<'a, R> ClientPreparedCommand<'a, R> for PreparedCommand<'a, InnerClient, R>where
R: FromValue + Send + 'a,
impl<'a, R> ClientPreparedCommand<'a, R> for PreparedCommand<'a, InnerClient, R>where
R: FromValue + Send + 'a,
sourceimpl<'a, R> IntoFuture for PreparedCommand<'a, Client, R>where
R: FromValue + Send + 'a,
impl<'a, R> IntoFuture for PreparedCommand<'a, Client, R>where
R: FromValue + Send + 'a,
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl<'a, R> IntoFuture for PreparedCommand<'a, InnerClient, R>where
R: FromValue + Send + 'a,
impl<'a, R> IntoFuture for PreparedCommand<'a, InnerClient, R>where
R: FromValue + Send + 'a,
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl<'a, R> IntoFuture for PreparedCommand<'a, MultiplexedClient, R>where
R: FromValue + Send + 'a,
impl<'a, R> IntoFuture for PreparedCommand<'a, MultiplexedClient, R>where
R: FromValue + Send + 'a,
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl<'a, R> IntoFuture for PreparedCommand<'a, StandaloneConnection, R>where
R: FromValue + Send + 'a,
impl<'a, R> IntoFuture for PreparedCommand<'a, StandaloneConnection, R>where
R: FromValue + Send + 'a,
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<R, Error>> + Send + 'a, Global>>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl<'a, R> MultiplexedPreparedCommand<'a, R> for PreparedCommand<'a, MultiplexedClient, R>where
R: FromValue + Send + 'a,
impl<'a, R> MultiplexedPreparedCommand<'a, R> for PreparedCommand<'a, MultiplexedClient, R>where
R: FromValue + Send + 'a,
sourceimpl<'a, R> PipelinePreparedCommand<'a, R> for PreparedCommand<'a, Pipeline, R>where
R: FromValue + Send + 'a,
impl<'a, R> PipelinePreparedCommand<'a, R> for PreparedCommand<'a, Pipeline, R>where
R: FromValue + Send + 'a,
sourceimpl<'a, R> PipelinePreparedCommand<'a, R> for PreparedCommand<'a, Transaction, R>where
R: FromValue + Send + 'a,
impl<'a, R> PipelinePreparedCommand<'a, R> for PreparedCommand<'a, Transaction, R>where
R: FromValue + Send + 'a,
Auto Trait Implementations
impl<'a, T, R> RefUnwindSafe for PreparedCommand<'a, T, R>where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, R> Send for PreparedCommand<'a, T, R>where
R: Send,
T: Send,
impl<'a, T, R> Sync for PreparedCommand<'a, T, R>where
R: Sync,
T: Sync,
impl<'a, T, R> Unpin for PreparedCommand<'a, T, R>where
R: Unpin,
impl<'a, T, R> !UnwindSafe for PreparedCommand<'a, T, R>
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