pub struct NatTraversalInfo {
pub role: NatTraversalRole,
pub remote_addr: SocketAddr,
pub candidate_count: usize,
}
Expand description
NAT traversal information
Fields§
§role: NatTraversalRole
NAT traversal role of this endpoint
remote_addr: SocketAddr
Remote peer address involved in NAT traversal
candidate_count: usize
Number of candidate addresses considered
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NatTraversalInfo
impl RefUnwindSafe for NatTraversalInfo
impl Send for NatTraversalInfo
impl Sync for NatTraversalInfo
impl Unpin for NatTraversalInfo
impl UnwindSafe for NatTraversalInfo
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