pub struct ConnectionCloseErrors(pub Vec<(Connection, Error)>);Expand description
One or more connections failed to close when calling crate::pool::ConnectionPool::close.
Tuple Fields§
§0: Vec<(Connection, Error)>Trait Implementations§
Source§impl Debug for ConnectionCloseErrors
impl Debug for ConnectionCloseErrors
Source§impl Display for ConnectionCloseErrors
impl Display for ConnectionCloseErrors
Source§impl Error for ConnectionCloseErrors
impl Error for ConnectionCloseErrors
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ConnectionCloseErrors
impl !RefUnwindSafe for ConnectionCloseErrors
impl Send for ConnectionCloseErrors
impl !Sync for ConnectionCloseErrors
impl Unpin for ConnectionCloseErrors
impl UnsafeUnpin for ConnectionCloseErrors
impl !UnwindSafe for ConnectionCloseErrors
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