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 Freeze for ConnectionErrors
impl !RefUnwindSafe for ConnectionErrors
impl Send for ConnectionErrors
impl Sync for ConnectionErrors
impl Unpin for ConnectionErrors
impl !UnwindSafe 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