pub enum NatTraversalEventType {
Started,
CandidateDiscovered,
CandidateValidated,
HolePunchingStarted,
HolePunchingSucceeded,
HolePunchingFailed,
Completed,
Failed,
}
Expand description
NAT traversal event types
Variants§
Started
NAT traversal initiated
CandidateDiscovered
A candidate address was discovered
CandidateValidated
A candidate address was validated
HolePunchingStarted
Hole punching began
HolePunchingSucceeded
Hole punching succeeded
HolePunchingFailed
Hole punching failed
Completed
NAT traversal completed
Failed
NAT traversal failed
Trait Implementations§
Source§impl Clone for NatTraversalEventType
impl Clone for NatTraversalEventType
Source§fn clone(&self) -> NatTraversalEventType
fn clone(&self) -> NatTraversalEventType
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 NatTraversalEventType
impl Debug for NatTraversalEventType
impl Copy for NatTraversalEventType
Auto Trait Implementations§
impl Freeze for NatTraversalEventType
impl RefUnwindSafe for NatTraversalEventType
impl Send for NatTraversalEventType
impl Sync for NatTraversalEventType
impl Unpin for NatTraversalEventType
impl UnwindSafe for NatTraversalEventType
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