pub struct ConnectionResult {
pub connection_id: ConnectionId,
pub success: bool,
pub latency_ms: u64,
pub protocol_version: Option<String>,
pub server_info: Option<String>,
pub error: Option<String>,
pub timestamp: DateTime<Utc>,
}Expand description
Result of a connection attempt.
Fields§
§connection_id: ConnectionId§success: bool§latency_ms: u64§protocol_version: Option<String>§server_info: Option<String>§error: Option<String>§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for ConnectionResult
impl Clone for ConnectionResult
Source§fn clone(&self) -> ConnectionResult
fn clone(&self) -> ConnectionResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConnectionResult
impl Debug for ConnectionResult
Source§impl<'de> Deserialize<'de> for ConnectionResult
impl<'de> Deserialize<'de> for ConnectionResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConnectionResult
impl RefUnwindSafe for ConnectionResult
impl Send for ConnectionResult
impl Sync for ConnectionResult
impl Unpin for ConnectionResult
impl UnsafeUnpin for ConnectionResult
impl UnwindSafe for ConnectionResult
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