pub enum NatTransport {
Tcp,
Udp,
}Expand description
Протокол регистрируемых адресов.
Variants§
Trait Implementations§
Source§impl Clone for NatTransport
impl Clone for NatTransport
Source§fn clone(&self) -> NatTransport
fn clone(&self) -> NatTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NatTransport
Source§impl Debug for NatTransport
impl Debug for NatTransport
impl Eq for NatTransport
Source§impl PartialEq for NatTransport
impl PartialEq for NatTransport
impl StructuralPartialEq for NatTransport
Auto Trait Implementations§
impl Freeze for NatTransport
impl RefUnwindSafe for NatTransport
impl Send for NatTransport
impl Sync for NatTransport
impl Unpin for NatTransport
impl UnsafeUnpin for NatTransport
impl UnwindSafe for NatTransport
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