Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HFQR/xitca-web
/ functions
Functions
3,753 in github.com/HFQR/xitca-web
⨍
Functions
3,753
◇
Types & classes
917
↓ 1 callers
Method
next_when_notified
(&self, cap: usize, notify: Arc<Notify>)
tokio-uring/src/buf/fixed/pool.rs:272
↓ 1 callers
Function
noop_waker
()
unsafe_collection/src/futures.rs:271
↓ 1 callers
Function
nop
()
client/src/tls/connector.rs:16
↓ 1 callers
Method
notifier
(&mut self)
http/src/h1/io.rs:67
↓ 1 callers
Method
notify
(&mut self, val: BytesMut)
http/src/h1/io.rs:104
↓ 1 callers
Method
notify_on_next
Returns a `Notify` to use for waking up tasks awaiting a buffer of the specified capacity.
tokio-uring/src/buf/fixed/plumbing/pool.rs:134
↓ 1 callers
Method
num_operations
(&self)
tokio-uring/src/runtime/driver/mod.rs:65
↓ 1 callers
Function
object_state
thread safe trait object state constructor.
examples/dependency-injection/src/main.rs:29
↓ 1 callers
Method
on_drop
(&mut self, cli: impl ClientBorrowMut)
postgres/src/transaction.rs:96
↓ 1 callers
Method
on_msg
Async function that would be called when new message arrived from client.
web/src/handler/types/websocket.rs:109
↓ 1 callers
Method
on_write_err
(&mut self, e: io::Error)
postgres/src/driver/generic.rs:334
↓ 1 callers
Method
open
(&self, path: PathBuf)
http-file/src/runtime.rs:79
↓ 1 callers
Method
open
Attempts to open a file in read-only mode. See the [`OpenOptions::open`] method for more details. # Errors This function will return an error if `p
tokio-uring/src/fs/file.rs:87
↓ 1 callers
Function
open_control_stream
(conn: &Connection)
http/src/h3/proto/dispatcher_v2.rs:326
↓ 1 callers
Method
openssl
enable openssl as tls connector.
client/src/builder.rs:239
↓ 1 callers
Method
opposite_bit_window
(&self)
http/src/h3/proto/qpack/prefix_string/bitwin.rs:22
↓ 1 callers
Method
options
Sets command line options used to configure the server.
postgres/src/config.rs:129
↓ 1 callers
Function
os_error
std::io::Error is a widely used type through dependencies and this method is used to tell the difference of os io error from dependency crate io error
server/src/worker/mod.rs:107
↓ 1 callers
Method
parameter
(&mut self)
postgres/src/config.rs:554
↓ 1 callers
Method
params_mut
(&mut self)
http/src/http.rs:344
↓ 1 callers
Method
parse
( &mut self, header: hpack::Header, max_header_list_size: usize, is_over_size:
http/src/h2/proto/frame/headers.rs:620
↓ 1 callers
Method
parse
(name: N, value: V)
http/src/h3/proto/headers.rs:282
↓ 1 callers
Method
parse
(s: &'a str)
postgres/src/config.rs:426
↓ 1 callers
Method
parse
(input: ParseStream)
codegen/src/route.rs:224
↓ 1 callers
Function
parse_content_length
Extract the `Content-Length` value from request headers. Per RFC 9110 §8.6 multiple values are tolerated only when identical; any non-numeric value i
http/src/h3/proto/dispatcher_v2.rs:945
↓ 1 callers
Method
parse_credentials
(&mut self)
postgres/src/config.rs:624
↓ 1 callers
Method
parse_error
(&mut self)
postgres/src/driver/codec.rs:132
↓ 1 callers
Method
parse_field
(mut self: Pin<&mut Self>)
http-multipart/src/lib.rs:195
↓ 1 callers
Function
parse_host
(host: &str)
client/src/connect.rs:172
↓ 1 callers
Method
parse_host
(&mut self)
postgres/src/config.rs:643
↓ 1 callers
Method
parse_instruction
(&self, read: &mut R)
http/src/h3/proto/qpack/decoder.rs:158
↓ 1 callers
Method
parse_params
(&mut self)
postgres/src/config.rs:702
↓ 1 callers
Method
parse_path
(&mut self)
postgres/src/config.rs:684
↓ 1 callers
Function
parse_u64
(src: &[u8])
http/src/h2/proto/frame/headers.rs:259
↓ 1 callers
Method
path_check
(&self, path: &str)
http-file/src/lib.rs:160
↓ 1 callers
Method
path_gen
(&mut self, path: &str)
http/src/util/service/router.rs:182
↓ 1 callers
Method
payload_len
(&self)
http/src/h2/proto/frame/settings.rs:210
↓ 1 callers
Method
peek_protocol
Enable peek into connection to figure out it's protocol regardless the outcome of alpn negotiation. This API is used to bypass alpn setting from tls
http/src/config.rs:181
↓ 1 callers
Function
peek_version
Peek into the given buffer (and read more if needed) to determine whether the connection speaks HTTP/2. Returns `(version, buf)` where `buf` contains
http/src/h2/dispatcher.rs:407
↓ 1 callers
Method
ping
(&self, bin: impl Into<Bytes>)
http-ws/src/stream.rs:204
↓ 1 callers
Function
plain
()
web/src/middleware/decompress.rs:150
↓ 1 callers
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
tokio-uring/src/runtime/driver/op/mod.rs:84
↓ 1 callers
Method
poll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
server/src/server/future.rs:169
↓ 1 callers
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
unsafe_collection/src/futures.rs:47
↓ 1 callers
Method
poll_close
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/ws.rs:154
↓ 1 callers
Method
poll_cmd
(&mut self, cx: &mut Context<'_>)
server/src/server/future.rs:128
↓ 1 callers
Method
poll_frame
(&mut self, cx: &mut Context<'_>)
client/src/grpc.rs:189
↓ 1 callers
Method
poll_frame
(self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/body.rs:84
↓ 1 callers
Method
poll_frame
(self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/h2/body.rs:68
↓ 1 callers
Method
poll_frame
(self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/h1/body.rs:45
↓ 1 callers
Method
poll_frame
(self: Pin<&mut Self>, cx: &mut Context<'_>)
http/src/h1/body.rs:125
↓ 1 callers
Method
poll_frame
( mut self: Pin<&mut Self>, _: &mut Context<'_>, )
http-body/src/util.rs:42
↓ 1 callers
Method
poll_multishot_op
( &mut self, op: &mut Op<T, MultiCQEFuture>, cx: &mut Context<'_>, )
tokio-uring/src/runtime/driver/mod.rs:281
↓ 1 callers
Method
poll_next
(self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/ws.rs:175
↓ 1 callers
Method
poll_next
(self: Pin<&mut Self>, _: &mut Context<'_>)
http-multipart/src/form.rs:190
↓ 1 callers
Function
poll_once
(future: impl std::future::Future)
tokio-uring/tests/fs_file.rs:309
↓ 1 callers
Method
poll_op
(&mut self, op: &mut Op<T>, cx: &mut Context<'_>)
tokio-uring/src/runtime/driver/mod.rs:251
↓ 1 callers
Method
poll_read
(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>)
io/src/io/poll.rs:134
↓ 1 callers
Method
poll_ready
(self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/http_tunnel.rs:81
↓ 1 callers
Method
poll_ready
(self: Pin<&mut Self>, _: &mut Context<'_>)
client/src/ws.rs:99
↓ 1 callers
Method
poll_ready
(&mut self, interest: Interest, ready: &mut Ready, cx: &mut Context<'_>)
postgres/src/driver/quic.rs:39
↓ 1 callers
Method
poll_ready_once
(&mut self, cx: &mut Context<'_>, ready: &mut Ready)
postgres/src/driver/quic.rs:113
↓ 1 callers
Method
poll_recv
(&mut self, cx: &mut Context<'_>)
http-grpc/src/stream.rs:216
↓ 1 callers
Method
poll_send_data
( &mut self, id: StreamId, data: &mut Bytes, end_stream: bool, cx: &mu
http/src/h2/proto/flow.rs:634
↓ 1 callers
Method
poll_shutdown
(&mut self, cx: &mut Context<'_>)
postgres/src/driver/quic.rs:85
↓ 1 callers
Method
poll_shutdown
(self: Pin<&mut Self>, cx: &mut Context<'_>)
tls/src/rustls_poll.rs:116
↓ 1 callers
Method
poll_stream_frame
( &mut self, id: &StreamId, pending_window: &mut RecvWindow, cx: &mut Context<
http/src/h2/proto/flow.rs:483
↓ 1 callers
Method
pop_front
(&mut self)
unsafe_collection/src/bound_queue/mod.rs:113
↓ 1 callers
Method
pop_front_unchecked
SAFETY: caller must make sure self is not empty
unsafe_collection/src/bound_queue/mod.rs:123
↓ 1 callers
Method
pop_if_ends_with
(&mut self, needle: &str)
postgres/src/transaction/builder.rs:165
↓ 1 callers
Method
post_base
(&self, base: usize, index: RelativeIndex)
http/src/h3/proto/qpack/vas.rs:120
↓ 1 callers
Function
potential_boundary_tail
(item: &[u8])
http-multipart/src/field.rs:191
↓ 1 callers
Function
precondition_check
(req: &Request<Ext>)
http-file/src/date.rs:20
↓ 1 callers
Method
process_new_packets
(&mut self)
tls/src/rustls_poll.rs:26
↓ 1 callers
Method
process_size_update
(&mut self, buf: &mut Cursor<&mut BytesMut>)
http/src/h2/proto/hpack/decoder.rs:232
↓ 1 callers
Method
promote_cancel_to_close_recv
(&mut self)
http/src/h2/proto/stream.rs:197
↓ 1 callers
Method
protocol
(&self)
http/src/http.rs:263
↓ 1 callers
Method
push
(&self, future: F)
http/src/util/futures.rs:35
↓ 1 callers
Method
push_back_unchecked
SAFETY: caller must make sure self is not full.
unsafe_collection/src/bound_queue/mod.rs:142
↓ 1 callers
Method
push_end_stream
Set END_STREAM on the most recent DATA frame for `stream_id` in place, avoiding an extra zero-length frame in the common case (O(1)). On a single thr
http/src/h2/proto/flow.rs:789
↓ 1 callers
Method
push_trailers
(&mut self, id: StreamId, trailers: HeaderMap)
http/src/h2/proto/flow.rs:777
↓ 1 callers
Method
put
(&mut self, code: u8)
http/src/h3/proto/qpack/prefix_string/encode.rs:54
↓ 1 callers
Method
put
(&mut self, src: T)
unsafe_collection/src/bytes/limit.rs:120
↓ 1 callers
Method
put_back
(&self, conn: PoolClient)
postgres/src/pool.rs:211
↓ 1 callers
Function
q
()
examples/file/static/client.626570da.js:1
↓ 1 callers
Function
query_tls_availability
(io: &mut Io)
postgres/src/driver.rs:103
↓ 1 callers
Method
quota
Returns the quota used to make the rate limiting decision.
http-rate/src/snapshot.rs:48
↓ 1 callers
Method
quoted_value
(&mut self)
postgres/src/config.rs:533
↓ 1 callers
Method
rate_limit
Rate limit [Request] based on it's [HeaderMap] state and given client [SocketAddr] "x-real-ip", "x-forwarded-for" and "forwarded" headers are checked
http-rate/src/lib.rs:43
↓ 1 callers
Method
read
(&mut self, buf: &mut [u8])
io/src/io/poll.rs:281
↓ 1 callers
Method
read
(&self, mut buf: B)
tls/src/openssl.rs:81
↓ 1 callers
Method
read
(&self, mut buf: B)
tls/src/rustls.rs:441
↓ 1 callers
Method
read
(&mut self, buf: &mut [u8])
tls/src/bridge.rs:55
↓ 1 callers
Method
read
(&self, mut buf: B)
tls/src/native_tls.rs:88
↓ 1 callers
Method
read
Sets the option for read access. This option, when true, will indicate that the file should be `read`-able if opened. # Examples ```no_run use toki
tokio-uring/src/fs/open_options.rs:123
↓ 1 callers
Method
read_at
Read some bytes at the specified offset from the file into the specified buffer, returning how many bytes were read. # Return The method returns the
tokio-uring/src/fs/file.rs:179
↓ 1 callers
Method
read_exact_at
Read the exact number of bytes required to fill `buf` at the specified offset from the file. This function reads as many as bytes as necessary to com
tokio-uring/src/fs/file.rs:387
↓ 1 callers
Method
read_exact_slice_at
(&self, mut buf: Slice<T>, mut pos: u64)
tokio-uring/src/fs/file.rs:396
↓ 1 callers
Method
read_fixed
Receives a single datagram message into a registered buffer. Like [`read`], but using a pre-mapped buffer registered with [`FixedBufRegistry`]. [`re
tokio-uring/src/net/udp.rs:322
↓ 1 callers
Function
read_headers_frame
(recv: &mut RecvStream)
http/src/h3/proto/dispatcher_v2.rs:828
← previous
next →
1,301–1,400 of 3,753, ranked by callers