pub struct NatTraversalInfo {
pub remote_addr: SocketAddr,
pub candidate_count: usize,
}Expand description
NAT traversal information
v0.13.0: role field removed - all nodes are symmetric P2P nodes.
Fields§
§remote_addr: SocketAddrRemote peer address involved in NAT traversal
candidate_count: usizeNumber 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more