pub struct ConnectionErrors(pub Vec<(SocketAddr, Error)>);Expand description
A sequence of errors which occurred during a connection attempt.
These are paired with a SocketAddr because the connection attempt might fail multiple times
during DNS resolution.
Tuple Fields§
§0: Vec<(SocketAddr, Error)>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionErrors
impl !UnwindSafe for ConnectionErrors
impl Freeze for ConnectionErrors
impl Send for ConnectionErrors
impl Sync for ConnectionErrors
impl Unpin for ConnectionErrors
impl UnsafeUnpin for ConnectionErrors
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