Enum tor_socksproto::SocksVersion
source ·
[−]#[non_exhaustive]
pub enum SocksVersion {
V4,
V5,
}
Expand description
A supported SOCKS version.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V4
Socks v4.
V5
Socks v5.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SocksVersion
impl Send for SocksVersion
impl Sync for SocksVersion
impl Unpin for SocksVersion
impl UnwindSafe for SocksVersion
Blanket Implementations
Mutably borrows from an owned value. Read more