pub struct OptimizedMultiplexedPool { /* private fields */ }Expand description
Optimized multiplexed connection pool with multiple workers
Implementations§
Source§impl OptimizedMultiplexedPool
impl OptimizedMultiplexedPool
Sourcepub async fn new(
config: ConnectionConfig,
host: String,
port: u16,
) -> RedisResult<Self>
pub async fn new( config: ConnectionConfig, host: String, port: u16, ) -> RedisResult<Self>
Create a new optimized multiplexed pool
Sourcepub async fn execute_command(
&self,
command: String,
args: Vec<RespValue>,
) -> RedisResult<RespValue>
pub async fn execute_command( &self, command: String, args: Vec<RespValue>, ) -> RedisResult<RespValue>
Execute a command through the optimized multiplexed pool
Auto Trait Implementations§
impl Freeze for OptimizedMultiplexedPool
impl !RefUnwindSafe for OptimizedMultiplexedPool
impl Send for OptimizedMultiplexedPool
impl Sync for OptimizedMultiplexedPool
impl Unpin for OptimizedMultiplexedPool
impl !UnwindSafe for OptimizedMultiplexedPool
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