pub enum OpenOutcome {
Started {
remote: SocketAddr,
token: u64,
negotiated: NegotiatedParams,
event: ClientEvent,
},
NoTestCompleted {
remote: SocketAddr,
negotiated: NegotiatedParams,
event: ClientEvent,
},
}Expand description
Result of the IRTT open exchange.
The lower-level Client API returns this before any echo
probes are driven. Managed sessions publish the contained lifecycle event to
subscribers immediately after a successful open.
Variants§
Started
A normal probe session was opened.
Fields
§
remote: SocketAddrResolved remote socket address used by the UDP socket.
§
negotiated: NegotiatedParamsParameters returned by the server after negotiation.
§
event: ClientEventLifecycle event corresponding to this outcome.
NoTestCompleted
A no-test open exchange completed without starting a probe session.
Fields
§
remote: SocketAddrResolved remote socket address used by the UDP socket.
§
negotiated: NegotiatedParamsParameters returned by the server after negotiation.
§
event: ClientEventLifecycle event corresponding to this outcome.
Trait Implementations§
Source§impl Clone for OpenOutcome
impl Clone for OpenOutcome
Source§fn clone(&self) -> OpenOutcome
fn clone(&self) -> OpenOutcome
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 OpenOutcome
impl Debug for OpenOutcome
impl Eq for OpenOutcome
Source§impl PartialEq for OpenOutcome
impl PartialEq for OpenOutcome
Source§fn eq(&self, other: &OpenOutcome) -> bool
fn eq(&self, other: &OpenOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenOutcome
Auto Trait Implementations§
impl Freeze for OpenOutcome
impl RefUnwindSafe for OpenOutcome
impl Send for OpenOutcome
impl Sync for OpenOutcome
impl Unpin for OpenOutcome
impl UnsafeUnpin for OpenOutcome
impl UnwindSafe for OpenOutcome
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