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§impl Debug for OpenOutcome
impl Debug for OpenOutcome
impl Eq for OpenOutcome
Source§impl PartialEq for OpenOutcome
impl PartialEq for OpenOutcome
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