Struct reool::Wait [−][src]
pub struct Wait;
Expand description
Simply a shortcut for CheckoutMode::Wait
Using this can be risky as connections are returned
when dropped. If the pool has no idle connections left while
none are returned a deadlock might occur. It is always safe to use
this mode if only the RedisPool
itself is used as a connection since
it will immediately return the used connection after each operation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Wait
impl UnwindSafe for Wait
Blanket Implementations
Mutably borrows from an owned value. Read more