pub struct ConnectionAttemptError {
pub method: AttemptedMethod,
pub error: String,
pub timestamp: Instant,
}Expand description
Error that occurred during a connection attempt
Fields§
§method: AttemptedMethodThe method that was attempted
error: StringDescription of the error
timestamp: InstantWhen the attempt was made
Trait Implementations§
Source§impl Clone for ConnectionAttemptError
impl Clone for ConnectionAttemptError
Source§fn clone(&self) -> ConnectionAttemptError
fn clone(&self) -> ConnectionAttemptError
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ConnectionAttemptError
impl RefUnwindSafe for ConnectionAttemptError
impl Send for ConnectionAttemptError
impl Sync for ConnectionAttemptError
impl Unpin for ConnectionAttemptError
impl UnwindSafe for ConnectionAttemptError
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