pub trait BatchPreparedCommand<R = ()> {
// Required methods
fn queue(self);
fn forget(self);
}Expand description
Extension trait dedicated to PreparedCommand
to add specific methods for the Pipeline &
the Transaction executors
§The response type is ignored here
Queuing discards a PreparedCommand’s
response type. The type on
Pipeline::execute decides the decoding.
Write ::<()> on a queued command. Any other type compiles and means nothing.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".