pub struct StaticPool { /* private fields */ }Implementations§
Source§impl StaticPool
impl StaticPool
pub fn new(brokers: Vec<String>, stategy: SelectionStategy) -> Self
Trait Implementations§
Source§impl BrokersPool for StaticPool
impl BrokersPool for StaticPool
Auto Trait Implementations§
impl Freeze for StaticPool
impl RefUnwindSafe for StaticPool
impl Send for StaticPool
impl Sync for StaticPool
impl Unpin for StaticPool
impl UnsafeUnpin for StaticPool
impl UnwindSafe for StaticPool
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