pub struct Pools { /* private fields */ }Expand description
The pools namespace. Obtain one with Client::pools.
Implementations§
Source§impl Pools
impl Pools
Sourcepub fn create(&self, name: impl Into<String>) -> PoolCreate
pub fn create(&self, name: impl Into<String>) -> PoolCreate
Create a pool, or update the shape of one that already exists.
The returned pool’s lease is renewed in the background until the client is dropped.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Pools
impl !UnwindSafe for Pools
impl Freeze for Pools
impl Send for Pools
impl Sync for Pools
impl Unpin for Pools
impl UnsafeUnpin for Pools
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