pub struct NatTraversalResult {
pub attempt_id: String,
pub success: bool,
pub duration: Duration,
pub connection_info: Option<ConnectionInfo>,
pub error_info: Option<ErrorInfo>,
pub performance_metrics: PerformanceMetrics,
pub candidates_used: Vec<CandidateInfo>,
}Expand description
NAT traversal result information
Fields§
§attempt_id: StringAttempt identifier
success: boolWhether traversal was successful
duration: DurationDuration of traversal attempt
connection_info: Option<ConnectionInfo>Final connection information
error_info: Option<ErrorInfo>Error information if failed
performance_metrics: PerformanceMetricsPerformance metrics
candidates_used: Vec<CandidateInfo>Candidate information
Trait Implementations§
Source§impl Clone for NatTraversalResult
impl Clone for NatTraversalResult
Source§fn clone(&self) -> NatTraversalResult
fn clone(&self) -> NatTraversalResult
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 moreSource§impl Debug for NatTraversalResult
impl Debug for NatTraversalResult
Source§impl<'de> Deserialize<'de> for NatTraversalResult
impl<'de> Deserialize<'de> for NatTraversalResult
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 NatTraversalResult
impl RefUnwindSafe for NatTraversalResult
impl Send for NatTraversalResult
impl Sync for NatTraversalResult
impl Unpin for NatTraversalResult
impl UnwindSafe for NatTraversalResult
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