Docs.rs
socks5-impl-0.3.3
socks5-impl 0.3.3
Docs.rs crate page
GPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
ssrlive
blechschmidt
Dependencies
async-trait ^0.1
normal
byteorder ^1.4
normal
bytes ^1.4
normal
thiserror ^1.0
normal
tokio ^1.28
normal
clap ^4.3
dev
log ^0.4
dev
rand ^0.8
dev
tokio ^1.28
dev
trust-dns-proto ^0.22
dev
Versions
40.56%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
SocksUdpClient
Trait Implementations
UdpClientTrait
In socks5_impl::client
?
Type Definition
socks5_impl
::
client
::
SocksUdpClient
source
·
[
−
]
pub type SocksUdpClient =
SocksDatagram
<
GuardTcpStream
>;
Trait Implementations
§
source
§
impl
UdpClientTrait
for
SocksUdpClient
source
§
fn
send_to
<'life0, 'life1, 'async_trait, A>( &'life0 mut self, buf: &'life1 [
u8
], addr: A ) ->
Pin
<
Box
<dyn
Future
<Output =
Result
<
usize
,
Error
>> +
Send
+ 'async_trait>>
where A:
Into
<
Address
> +
Send
+
Unpin
+ 'async_trait, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
source
§
fn
recv_from
<'life0, 'life1, 'async_trait>( &'life0 mut self, timeout:
Duration
, buf: &'life1 mut
Vec
<
u8
> ) ->
Pin
<
Box
<dyn
Future
<Output =
Result
<(
usize
,
Address
),
Error
>> +
Send
+ 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,