Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Qv2ray/v2ray-rust
/ functions
Functions
422 in github.com/Qv2ray/v2ray-rust
⨍
Functions
422
◇
Types & classes
104
Method
new
( io: T, addr: Address, context: SharedBloomContext, method: CipherKind,
src/proxy/shadowsocks/udp_crypto_io.rs:192
Method
new
(&self, sub_key: &[u8])
src/proxy/shadowsocks/aead_helper.rs:13
Method
new
( builders: &'a [Box<dyn ChainableStreamBuilder>], last_builder: &'a Option<Box<dyn ToChainabl
src/proxy/utils/mod.rs:12
Method
new
( inner_map: Arc<HashMap<String, ChainStreamBuilder>>, router: Arc<Router>, enable_api
src/proxy/http/mod.rs:34
Method
new
(inner_map: Arc<HashMap<String, ChainStreamBuilder>>, router: Arc<Router>)
src/proxy/http/connector.rs:25
Method
new
(host: String, path: http::uri::PathAndQuery)
src/proxy/grpc/mod.rs:29
Method
new
(stream: S, local_addr: SocketAddr)
src/proxy/socks/socks5.rs:38
Method
new
(addr: Address, password: &[u8], _is_udp: bool)
src/proxy/trojan/mod.rs:22
Method
new
(stream: T)
src/proxy/trojan/trojan_stream.rs:136
Method
new
(inner: WebSocketStream<T>)
src/proxy/websocket/mod.rs:126
Method
new
( io: BoxProxyStream, req: Request<()>, ws_config: Option<WebSocketConfig>, ea
src/proxy/websocket/ws_early_data.rs:30
Method
new
(host: Address)
src/proxy/simpleobfs/mod.rs:16
Method
new
(host: Address, stream: S)
src/proxy/simpleobfs/http.rs:28
Method
new
(resp_body_key: &[u8], resp_body_iv: &[u8], respv: u8)
src/proxy/vmess/aead_header.rs:124
Method
new
(mut hasher: HmacSha256, key: &[u8])
src/proxy/vmess/kdf.rs:90
Method
new
#[inline] pub fn resp_body_key(&self) -> &[u8] { &self.salt[32..48] } #[inline] pub fn resp_body_iv(&self) -> &[u8] { &self.salt[48..] }
src/proxy/vmess/vmess_stream.rs:105
Method
new
(iv: &[u8], security: VmessSecurity)
src/proxy/vmess/aead.rs:49
Method
new
()
src/config/utils.rs:11
Method
new
()
src/config/ip_trie.rs:158
Method
new
( backlog: u32, relay_buffer_size: usize, inbounds: Vec<Inbounds>, dokodemo: V
src/config/server_builder.rs:34
Method
new
()
src/config/route.rs:50
Method
new
(uri: &str)
src/config/deserialize.rs:91
Method
new
()
src/config/geosite.rs:50
Method
new
()
src/config/geoip.rs:48
Method
new_dummy_address
()
src/proxy/address.rs:76
Method
new_from_config
( addr: Address, password: &str, method: CipherKind, context: SharedBloomConte
src/proxy/shadowsocks/mod.rs:40
Method
new_from_config
( uri: Uri, max_early_data: usize, early_data_header_name: String, ws_config:
src/proxy/websocket/mod.rs:144
Method
new_from_config
( sni: String, cert_file: &Option<String>, verify_hostname: bool, verify_sni:
src/proxy/tls/tls_stream.rs:32
Method
new_none
(stream: S)
src/proxy/shadowsocks/crypto_io.rs:109
Method
new_server
()
src/api/mod.rs:29
Method
new_with_slice
(key: &[u8])
src/common/mod.rs:32
Method
new_with_slice
(key: &[u8])
src/common/aead_helper.rs:25
Method
nullptr
()
src/config/ip_trie.rs:13
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/udp.rs:147
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/common/net/copy_with_capacity.rs:51
Method
poll_flush
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/proxy/udp.rs:93
Method
poll_flush
(self: Pin<&mut Self>, _: &mut Context<'_>)
src/proxy/h2/mod.rs:192
Method
poll_flush
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/proxy/shadowsocks/udp_crypto_io.rs:269
Method
poll_flush
(self: Pin<&mut Self>, _: &mut Context<'_>)
src/proxy/grpc/mod.rs:221
Method
poll_flush
(self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/trojan/trojan_stream.rs:193
Method
poll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/websocket/mod.rs:97
Method
poll_flush
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/websocket/ws_early_data.rs:154
Method
poll_lock
(&self, cx: &mut Context<'_>)
src/proxy/udp.rs:344
Method
poll_read
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/proxy/udp.rs:73
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut tokio::io::ReadBuf<'_>,
src/proxy/h2/mod.rs:132
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, dst: &mut tokio::io::ReadBuf<'_>,
src/proxy/grpc/mod.rs:137
Method
poll_read
( self: Pin<&mut Self>, _cx: &mut Context<'_>, _buf: &mut ReadBuf<'_>, )
src/proxy/trojan/trojan_stream.rs:176
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut tokio::io::ReadBuf<'_>,
src/proxy/websocket/mod.rs:35
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/proxy/websocket/ws_early_data.rs:76
Function
poll_read_buf
( io: &mut T, cx: &mut Context<'_>, buf: &mut BytesMut, )
src/common/net/mod.rs:21
Method
poll_read_decrypted
( &mut self, ctx: &mut Context<'_>, r: &mut R, )
src/proxy/vmess/aead_header.rs:158
Method
poll_read_handshake
(&mut self, cx: &mut Context<'_>)
src/proxy/shadowsocks/crypto_io.rs:123
Method
poll_read_header
( this: &mut VmessStream<S>, ctx: &mut Context<'_>, dst: &mut ReadBuf<'_>, )
src/proxy/vmess/vmess_stream.rs:182
Method
poll_ready
( &mut self, _cx: &mut std::task::Context<'_>, )
src/proxy/http/connector.rs:37
Method
poll_recv_from
( self: Pin<&mut Self>, _cx: &mut Context<'_>, _buf: &mut ReadBuf<'_>, )
src/proxy/mod.rs:106
Method
poll_recv_from
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/proxy/shadowsocks/udp_crypto_io.rs:228
Method
poll_recv_from
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/proxy/trojan/trojan_stream.rs:150
Method
poll_recv_from
Vmess can't implement full-cone nat. So we just return the first address in handshake packet.
src/proxy/vmess/vmess_stream.rs:274
Method
poll_send_to
( self: Pin<&mut Self>, _cx: &mut Context<'_>, _buf: &[u8], _target: &Address,
src/proxy/mod.rs:116
Method
poll_send_to
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], target: &Address,
src/proxy/trojan/trojan_stream.rs:163
Method
poll_send_to
Vmess can't implement full-cone nat.
src/proxy/vmess/vmess_stream.rs:286
Method
poll_shutdown
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/proxy/udp.rs:97
Method
poll_shutdown
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/h2/mod.rs:197
Method
poll_shutdown
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/proxy/shadowsocks/udp_crypto_io.rs:273
Method
poll_shutdown
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/grpc/mod.rs:226
Method
poll_shutdown
(self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/trojan/trojan_stream.rs:197
Method
poll_shutdown
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, )
src/proxy/websocket/mod.rs:104
Method
poll_shutdown
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/proxy/websocket/ws_early_data.rs:171
Method
poll_write
( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/proxy/udp.rs:84
Method
poll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/proxy/grpc/mod.rs:199
Method
poll_write
( self: Pin<&mut Self>, _cx: &mut Context<'_>, _buf: &[u8], )
src/proxy/trojan/trojan_stream.rs:186
Method
poll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/proxy/websocket/mod.rs:83
Method
poll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/proxy/websocket/ws_early_data.rs:99
Method
poll_write_header
( this: &mut VmessStream<S>, ctx: &mut Context<'_>, buf: &[u8], )
src/proxy/vmess/vmess_stream.rs:224
Method
prefix
(&self)
src/config/geoip.rs:60
Method
priv_poll_read
( self: Pin<&mut Self>, ctx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/proxy/shadowsocks/crypto_io.rs:152
Method
priv_poll_read
( mut self: Pin<&mut Self>, ctx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/proxy/simpleobfs/http.rs:47
Method
priv_poll_recv_from
( this: &mut ShadowSocksUdpStream<T>, cx: &mut Context<'_>, dst: &mut ReadBuf<'_>,
src/proxy/shadowsocks/udp_crypto_io.rs:214
Method
priv_poll_write
( self: Pin<&mut Self>, ctx: &mut Context<'_>, buf: &[u8], )
src/proxy/shadowsocks/crypto_io.rs:171
Method
priv_poll_write
( mut self: Pin<&mut Self>, ctx: &mut Context<'_>, buf: &[u8], )
src/proxy/simpleobfs/http.rs:83
Method
protocol_type
(&self)
src/proxy/shadowsocks/mod.rs:111
Method
protocol_type
(&self)
src/proxy/grpc/mod.rs:91
Method
protocol_type
(&self)
src/proxy/trojan/mod.rs:62
Method
protocol_type
(&self)
src/proxy/websocket/mod.rs:249
Method
protocol_type
(&self)
src/proxy/tls/tls_stream.rs:153
Method
protocol_type
(&self)
src/proxy/simpleobfs/mod.rs:46
Method
protocol_type
(&self)
src/proxy/direct/mod.rs:31
Method
protocol_type
(&self)
src/proxy/vmess/mod.rs:47
Method
protocol_type
(&self)
src/proxy/blackhole/mod.rs:31
Method
read_from
( stream: &mut R, valid_hash: &[u8], first_packet: &mut Vec<u8>, )
src/proxy/trojan/trojan_stream.rs:58
Method
read_from_buf
(buf: &[u8])
src/proxy/address.rs:226
Method
read_from_cursor
(cur: &mut Cursor<A>)
src/proxy/address.rs:175
Method
read_from_file
(filename: String)
src/config/mod.rs:285
Method
read_from_stream
(stream: &mut R)
src/proxy/address.rs:97
Method
req
(&self)
src/proxy/h2/mod.rs:42
Method
req
(&self)
src/proxy/grpc/mod.rs:32
Method
run
( io: BoxProxyStream, req: Request<()>, config: Option<WebSocketConfig>,
src/proxy/websocket/ws_early_data.rs:55
Method
run
(mut self)
src/config/server_builder.rs:55
Method
set_bool_value
Param is passed by value, moved
src/config/geosite.rs:258
Method
set_int_value
Param is passed by value, moved
src/config/geosite.rs:283
← previous
next →
301–400 of 422, ranked by callers