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
↓ 7 callers
Method
saturating_sub
(self, rhs: Nanos)
http-rate/src/nanos.rs:89
↓ 7 callers
Method
send
(&mut self, buf: BytesMut)
postgres/src/driver.rs:218
↓ 7 callers
Method
serve
try to find a matching file from given input request and generate http response with stream reader of matched file. # Examples ```rust # use http_fil
http-file/src/lib.rs:93
↓ 7 callers
Method
set
(&mut self, future: F)
unsafe_collection/src/futures.rs:164
↓ 7 callers
Method
spawn
spawn a fresh connection using the crate-internal connection establishment logic. On success, returns a [SpawnOutCome] carrying either the raw connec
client/src/pool/service.rs:82
↓ 7 callers
Method
state
(&self)
web/src/context.rs:84
↓ 7 callers
Method
text
Use text(utf-8 encoded) as request body. [CONTENT_TYPE] header would be set with value: `text/plain; charset=utf-8`.
client/src/request.rs:41
↓ 7 callers
Method
total_inserted
(&self)
http/src/h3/proto/qpack/vas.rs:140
↓ 7 callers
Method
try_set_reset
Record a reset caused by a protocol error or server error. Sets recv error (so RequestBody sees it), send error (so response_task's send_data exits),
http/src/h2/proto/stream.rs:252
↓ 7 callers
Method
write
Writes data into the socket from the specified buffer. Returns the original buffer and quantity of data written.
tokio-uring/src/net/udp.rs:332
↓ 7 callers
Method
write
(&mut self, _: &[u8])
unsafe_collection/src/no_hash.rs:20
↓ 6 callers
Method
_send
send request to server
client/src/request.rs:149
↓ 6 callers
Method
accept
(&self)
tokio-uring/src/io/socket.rs:191
↓ 6 callers
Method
as_str
(&self)
unsafe_collection/src/small_str.rs:226
↓ 6 callers
Method
at_typed
insert typed route service with given path to application.
web/src/app/mod.rs:326
↓ 6 callers
Method
bind_dyn
( &self, params: &'p [&'t (dyn ToSql + Sync)], )
postgres/src/statement.rs:161
↓ 6 callers
Function
body
( io: NotifierIo<Io>, is_expect: bool, limit: usize, decoder: TransferCoding, read_buf: By
http/src/h1/body.rs:28
↓ 6 callers
Method
bytes
(&self)
unsafe_collection/src/bytes/byte_str.rs:50
↓ 6 callers
Method
bytes_init
(&self)
tokio-uring/tests/driver.rs:19
↓ 6 callers
Method
call
(&self, res: Result<S, E>)
web/src/middleware/decompress.rs:25
↓ 6 callers
Method
capacity
(&self)
unsafe_collection/src/bound_queue/heap.rs:113
↓ 6 callers
Method
chain
(self, other: B)
http-body/src/body_ext.rs:25
↓ 6 callers
Method
complete
(&mut self, index: usize, cqe: cqueue::Entry)
tokio-uring/src/runtime/driver/mod.rs:466
↓ 6 callers
Function
connect
(protocols: &[&[u8]])
client/src/tls/connector.rs:72
↓ 6 callers
Method
data
(&mut self)
http-body/src/body_ext.rs:18
↓ 6 callers
Method
decode
(&self, s: &'a str)
postgres/src/config.rs:739
↓ 6 callers
Function
drive
(mut drv: GenericDriver<impl AsyncIo + Send + 'static>)
postgres/src/pool/connect.rs:63
↓ 6 callers
Method
duplicate
cloning of statement inside library must be carefully utlized to keep cancelation happen properly on drop.
postgres/src/statement.rs:100
↓ 6 callers
Method
enclosed
Enclose Self with given `T as Service<<Self as Service<_>>::Response>>`. In other word T would take Self's `Service::Response` type as it's generic ar
service/src/service/ext.rs:12
↓ 6 callers
Function
encode
(src: &[u8], dst: &mut BytesMut)
http/src/h2/proto/hpack/huffman/mod.rs:44
↓ 6 callers
Method
encode
(&self, buf: &mut T)
http/src/h3/proto/frame.rs:115
↓ 6 callers
Method
encode
(&mut self, item: Message, dst: &mut BytesMut)
http-ws/src/codec.rs:138
↓ 6 callers
Function
encode_str
(val: &[u8], dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:193
↓ 6 callers
Function
extract
(frm: Result<Option<Extract>, ProtocolError>)
http-ws/src/frame.rs:210
↓ 6 callers
Function
find_wildcard
Searches for a wildcard segment and checks the path for invalid characters.
router/src/tree.rs:1144
↓ 6 callers
Method
flush
(&mut self)
client/src/http_tunnel.rs:230
↓ 6 callers
Method
for_each
(&self, mut f: F)
http/src/h2/proto/frame/settings.rs:227
↓ 6 callers
Method
get
Returns the entry located at the given index. The table is 1-indexed and constructed in such a way that the first entries belong to the static table,
http/src/h2/proto/hpack/decoder.rs:470
↓ 6 callers
Method
get
(&self, key: impl AsRef<str>)
router/src/params.rs:67
↓ 6 callers
Function
init
()
tokio-uring/src/runtime/driver/mod.rs:634
↓ 6 callers
Function
insert_fields
(table: &mut DynamicTable, fields: Vec<HeaderField>)
http/src/h3/proto/qpack/dynamic.rs:668
↓ 6 callers
Method
into_guarded
(self, cli: &C)
postgres/src/statement.rs:189
↓ 6 callers
Method
is_positive
(self)
http/src/h2/proto/window.rs:123
↓ 6 callers
Method
is_zero
Returns true if this stream ID is zero.
http/src/h2/proto/frame/stream_id.rs:59
↓ 6 callers
Method
len
(&self)
unsafe_collection/src/bound_queue/heap.rs:40
↓ 6 callers
Method
next
(&mut self)
http/src/util/futures.rs:16
↓ 6 callers
Method
parse
Parse an HTTP/2 frame header
http/src/h2/proto/frame/head.rs:36
↓ 6 callers
Method
pathname
Sets the `path` option, setting or replacing the path option to the command. The path may be absolute or relative. # Examples ```no_run use tokio_ur
tokio-uring/src/fs/statx.rs:223
↓ 6 callers
Function
prepare_driver
( info: ConnectInfo, io: Io, cfg: &mut Config, )
postgres/src/driver.rs:86
↓ 6 callers
Function
query
()
web/src/handler/types/query.rs:91
↓ 6 callers
Function
release
()
tokio-uring/src/runtime/driver/mod.rs:665
↓ 6 callers
Method
replace_body
(self, body: B1)
http/src/http.rs:282
↓ 6 callers
Method
reset
(&mut self)
http/src/h1/proto/context.rs:108
↓ 6 callers
Method
retain_recent
Retains all keys in the rate limiter that were used recently enough. Any key whose rate limiting state is indistinguishable from a "fresh" state (i.e
http-rate/src/state/keyed.rs:138
↓ 6 callers
Method
route
pass certain [Service] type to Route so it can be matched against the methods Route contains.
http/src/util/service/route.rs:54
↓ 6 callers
Method
session
Returns the negotiated ALPN protocol, if any.
tls/src/rustls.rs:92
↓ 6 callers
Function
set_once
(slot: &mut Option<T>, value: T, name: &'static str, len: &mut usize)
http/src/h3/proto/headers.rs:262
↓ 6 callers
Method
slice_full
(self)
tokio-uring/src/buf/slice.rs:180
↓ 6 callers
Method
statx
If we are passed a reference to a shared fd, clone it so we keep it live during the Future. If we aren't, use the libc::AT_FDCWD value. If Path is Non
tokio-uring/src/io/statx.rs:28
↓ 6 callers
Method
tick
(&mut self)
http/src/h2/proto/ping_pong.rs:34
↓ 6 callers
Method
wake
(&mut self)
http/src/h2/proto/flow.rs:827
↓ 6 callers
Method
with_mut_slice
# Safety The callback `func` must uphold the following contract: - Writes must be sequential and contiguous, starting from index 0 of the slice. - On
tls/src/rustls.rs:560
↓ 6 callers
Function
y
(e,n,t,s)
examples/file/static/client.626570da.js:1
↓ 5 callers
Method
add_child
Adds a child to this node, keeping wildcards at the end.
router/src/tree.rs:579
↓ 5 callers
Method
begin_owned
Begins the transaction with an owned client. The transaction will roll back by default - use [`Transaction::commit`] method to commit it.
postgres/src/transaction/builder.rs:95
↓ 5 callers
Method
body_borrow_mut
(&self)
web/src/context.rs:108
↓ 5 callers
Method
bounds
(&self)
tokio-uring/src/buf/slice.rs:188
↓ 5 callers
Method
build
(self)
server/src/builder.rs:155
↓ 5 callers
Method
call
(&self, _: ())
http/src/util/service/handler.rs:56
↓ 5 callers
Method
call
call next/inner services to complete where they would produce either a http response or an error.
web/src/middleware/sync.rs:44
↓ 5 callers
Method
capacity
set capacity. pool would spawn up to amount of capacity concurrent connections to database. # Default capacity default to 1
postgres/src/pool.rs:47
↓ 5 callers
Function
check_encode_field
( init_fields: &[HeaderField], field: &[HeaderField], check: &dyn Fn(&mut Cursor<&mut
http/src/h3/proto/qpack/encoder.rs:306
↓ 5 callers
Function
close
optimized version of postgres_protocol::frontend::close
postgres/src/protocol.rs:56
↓ 5 callers
Method
close
Closes the file using the uring asynchronous close operation and returns the possible error as described in the close(2) man page. The programmer has
tokio-uring/src/fs/file.rs:850
↓ 5 callers
Function
collect
Drain a `Form` synchronously. Works because `Once` bodies are always `Poll::Ready`.
http-multipart/src/form.rs:272
↓ 5 callers
Function
collect_body
Collect request or response body to Vec.
web/src/test.rs:10
↓ 5 callers
Function
collect_string_body
Collect request or response body and parse it to String.
web/src/test.rs:28
↓ 5 callers
Function
connect
(s: &str)
postgres/tests/runtime.rs:12
↓ 5 callers
Method
connection_window_update
Accumulate a connection-level WINDOW_UPDATE into `pending_conn_window`. Flushed as a single connection frame after `poll_encode` drains the queue.
http/src/h2/proto/flow.rs:761
↓ 5 callers
Function
consume
(buf: &mut Cursor<&mut BytesMut>)
http/src/h2/proto/hpack/decoder.rs:444
↓ 5 callers
Function
create_dir_all
Recursively create a directory and all of its parent components if they are missing. # Examples ```no_run tokio_uring_xitca::start(async { tokio_uri
tokio-uring/src/fs/create_dir_all.rs:15
↓ 5 callers
Function
decode
(src: &[u8], buf: &mut BytesMut)
http/src/h2/proto/hpack/huffman/mod.rs:21
↓ 5 callers
Method
decode
Decodes the headers found in the given buffer.
http/src/h2/proto/hpack/decoder.rs:169
↓ 5 callers
Function
denormalize_params
Restores `route` to it's original, denormalized form.
router/src/tree.rs:1118
↓ 5 callers
Method
deserialize
(&'de self)
web/src/handler/types/params.rs:40
↓ 5 callers
Function
drain_write
Drain a taken write buffer to the network. Always returns the buffer (cleared on success) so the caller can put it back.
tls/src/bridge.rs:106
↓ 5 callers
Method
eat_byte
(&mut self)
postgres/src/config.rs:620
↓ 5 callers
Function
encode_chunked
()
http/src/h1/proto/trasnder_coding.rs:726
↓ 5 callers
Function
encode_int
Encode an integer into the given destination buffer
http/src/h2/proto/hpack/encoder.rs:239
↓ 5 callers
Method
execute
(self, pool: &'c Pool)
postgres/src/pool/execute.rs:22
↓ 5 callers
Method
execute
(self, cli: &'c Client)
postgres/examples/execute.rs:51
↓ 5 callers
Method
find
(&mut self, field: &HeaderField)
http/src/h3/proto/qpack/dynamic.rs:87
↓ 5 callers
Method
flag
(&self)
http/src/h2/proto/frame/head.rs:56
↓ 5 callers
Method
forwards
(&mut self, step: u32)
http/src/h3/proto/qpack/prefix_string/bitwin.rs:13
↓ 5 callers
Function
from_headers
(headers: &HeaderMap)
http-encoding/src/decode.rs:22
↓ 5 callers
Method
get_mut_pinned_inner
(self: Pin<&mut Self>)
client/src/tunnel.rs:82
↓ 5 callers
Method
host
(&mut self, host: &str)
postgres/src/config.rs:178
↓ 5 callers
Method
hostname
(&self)
client/src/connect.rs:18
↓ 5 callers
Method
insert
(&mut self, id: SettingId, value: u64)
http/src/h3/proto/frame.rs:407
↓ 5 callers
Method
io
(&self)
http/src/h1/io.rs:56
← previous
next →
301–400 of 3,753, ranked by callers