pub struct ConnectionOutcome {
pub success: bool,
pub rtt_ms: Option<u32>,
pub capabilities_discovered: Option<PeerCapabilities>,
}Expand description
Result of a connection attempt
Fields§
§success: boolWhether the connection succeeded
rtt_ms: Option<u32>RTT in milliseconds if available
capabilities_discovered: Option<PeerCapabilities>Capabilities discovered during connection
Trait Implementations§
Source§impl Clone for ConnectionOutcome
impl Clone for ConnectionOutcome
Auto Trait Implementations§
impl Freeze for ConnectionOutcome
impl RefUnwindSafe for ConnectionOutcome
impl Send for ConnectionOutcome
impl Sync for ConnectionOutcome
impl Unpin for ConnectionOutcome
impl UnsafeUnpin for ConnectionOutcome
impl UnwindSafe for ConnectionOutcome
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