pub enum TransportMode {
Turbo,
Reliable,
Stealth,
}Expand description
Transport modes supported by the system
Variants§
Turbo
High-performance Mode (KCP over UDP)
Reliable
Reliable Mode (Standard TCP)
Stealth
Stealth Mode (FakeTLS for DPI bypass)
Trait Implementations§
Source§impl Clone for TransportMode
impl Clone for TransportMode
Source§fn clone(&self) -> TransportMode
fn clone(&self) -> TransportMode
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 TransportMode
Source§impl Debug for TransportMode
impl Debug for TransportMode
impl Eq for TransportMode
Source§impl PartialEq for TransportMode
impl PartialEq for TransportMode
Source§fn eq(&self, other: &TransportMode) -> bool
fn eq(&self, other: &TransportMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransportMode
Auto Trait Implementations§
impl Freeze for TransportMode
impl RefUnwindSafe for TransportMode
impl Send for TransportMode
impl Sync for TransportMode
impl Unpin for TransportMode
impl UnsafeUnpin for TransportMode
impl UnwindSafe for TransportMode
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