pub struct RedisOpts {
pub pool_size: u32,
}
Fields
pool_size: u32
Implementations
sourceimpl RedisOpts
impl RedisOpts
pub fn set_pool_size(self, size: u32) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RedisOpts
impl Send for RedisOpts
impl Sync for RedisOpts
impl Unpin for RedisOpts
impl UnwindSafe for RedisOpts
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