pub enum PunchRole {
Initiator,
Responder,
}Variants§
Initiator
Actively initiates the hole punching process
Responder
Assists the peer in hole punching (responding side)
Trait Implementations§
impl Copy for PunchRole
impl Eq for PunchRole
impl StructuralPartialEq for PunchRole
Auto Trait Implementations§
impl Freeze for PunchRole
impl RefUnwindSafe for PunchRole
impl Send for PunchRole
impl Sync for PunchRole
impl Unpin for PunchRole
impl UnwindSafe for PunchRole
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