pub struct BeanstalkdConnectionManager { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for BeanstalkdConnectionManager
impl Clone for BeanstalkdConnectionManager
Source§fn clone(&self) -> BeanstalkdConnectionManager
fn clone(&self) -> BeanstalkdConnectionManager
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BeanstalkdConnectionManager
impl Debug for BeanstalkdConnectionManager
Source§impl ManageConnection for BeanstalkdConnectionManager
impl ManageConnection for BeanstalkdConnectionManager
Source§type Connection = Beanstalkc
type Connection = Beanstalkc
The connection type this manager deals with.
Source§type Error = BeanstalkcError
type Error = BeanstalkcError
The error type returned by
Connection
s.Source§fn connect(&self) -> Result<Beanstalkc, BeanstalkcError>
fn connect(&self) -> Result<Beanstalkc, BeanstalkcError>
Attempts to create a new connection.
Source§fn is_valid(&self, conn: &mut Beanstalkc) -> Result<(), BeanstalkcError>
fn is_valid(&self, conn: &mut Beanstalkc) -> Result<(), BeanstalkcError>
Determines if the connection is still connected to the database. Read more
Source§fn has_broken(&self, conn: &mut Beanstalkc) -> bool
fn has_broken(&self, conn: &mut Beanstalkc) -> bool
Quickly determines if the connection is no longer usable. Read more
Auto Trait Implementations§
impl Freeze for BeanstalkdConnectionManager
impl RefUnwindSafe for BeanstalkdConnectionManager
impl Send for BeanstalkdConnectionManager
impl Sync for BeanstalkdConnectionManager
impl Unpin for BeanstalkdConnectionManager
impl UnwindSafe for BeanstalkdConnectionManager
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)