MCPcopy Create free account

hub / github.com/HFQR/xitca-web / functions

Functions3,753 in github.com/HFQR/xitca-web

↓ 7 callersMethodsaturating_sub
(self, rhs: Nanos)
http-rate/src/nanos.rs:89
↓ 7 callersMethodsend
(&mut self, buf: BytesMut)
postgres/src/driver.rs:218
↓ 7 callersMethodserve
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 callersMethodset
(&mut self, future: F)
unsafe_collection/src/futures.rs:164
↓ 7 callersMethodspawn
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 callersMethodstate
(&self)
web/src/context.rs:84
↓ 7 callersMethodtext
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 callersMethodtotal_inserted
(&self)
http/src/h3/proto/qpack/vas.rs:140
↓ 7 callersMethodtry_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 callersMethodwrite
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 callersMethodwrite
(&mut self, _: &[u8])
unsafe_collection/src/no_hash.rs:20
↓ 6 callersMethod_send
send request to server
client/src/request.rs:149
↓ 6 callersMethodaccept
(&self)
tokio-uring/src/io/socket.rs:191
↓ 6 callersMethodas_str
(&self)
unsafe_collection/src/small_str.rs:226
↓ 6 callersMethodat_typed
insert typed route service with given path to application.
web/src/app/mod.rs:326
↓ 6 callersMethodbind_dyn
( &self, params: &'p [&'t (dyn ToSql + Sync)], )
postgres/src/statement.rs:161
↓ 6 callersFunctionbody
( io: NotifierIo<Io>, is_expect: bool, limit: usize, decoder: TransferCoding, read_buf: By
http/src/h1/body.rs:28
↓ 6 callersMethodbytes
(&self)
unsafe_collection/src/bytes/byte_str.rs:50
↓ 6 callersMethodbytes_init
(&self)
tokio-uring/tests/driver.rs:19
↓ 6 callersMethodcall
(&self, res: Result<S, E>)
web/src/middleware/decompress.rs:25
↓ 6 callersMethodcapacity
(&self)
unsafe_collection/src/bound_queue/heap.rs:113
↓ 6 callersMethodchain
(self, other: B)
http-body/src/body_ext.rs:25
↓ 6 callersMethodcomplete
(&mut self, index: usize, cqe: cqueue::Entry)
tokio-uring/src/runtime/driver/mod.rs:466
↓ 6 callersFunctionconnect
(protocols: &[&[u8]])
client/src/tls/connector.rs:72
↓ 6 callersMethoddata
(&mut self)
http-body/src/body_ext.rs:18
↓ 6 callersMethoddecode
(&self, s: &'a str)
postgres/src/config.rs:739
↓ 6 callersFunctiondrive
(mut drv: GenericDriver<impl AsyncIo + Send + 'static>)
postgres/src/pool/connect.rs:63
↓ 6 callersMethodduplicate
cloning of statement inside library must be carefully utlized to keep cancelation happen properly on drop.
postgres/src/statement.rs:100
↓ 6 callersMethodenclosed
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 callersFunctionencode
(src: &[u8], dst: &mut BytesMut)
http/src/h2/proto/hpack/huffman/mod.rs:44
↓ 6 callersMethodencode
(&self, buf: &mut T)
http/src/h3/proto/frame.rs:115
↓ 6 callersMethodencode
(&mut self, item: Message, dst: &mut BytesMut)
http-ws/src/codec.rs:138
↓ 6 callersFunctionencode_str
(val: &[u8], dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:193
↓ 6 callersFunctionextract
(frm: Result<Option<Extract>, ProtocolError>)
http-ws/src/frame.rs:210
↓ 6 callersFunctionfind_wildcard
Searches for a wildcard segment and checks the path for invalid characters.
router/src/tree.rs:1144
↓ 6 callersMethodflush
(&mut self)
client/src/http_tunnel.rs:230
↓ 6 callersMethodfor_each
(&self, mut f: F)
http/src/h2/proto/frame/settings.rs:227
↓ 6 callersMethodget
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 callersMethodget
(&self, key: impl AsRef<str>)
router/src/params.rs:67
↓ 6 callersFunctioninit
()
tokio-uring/src/runtime/driver/mod.rs:634
↓ 6 callersFunctioninsert_fields
(table: &mut DynamicTable, fields: Vec<HeaderField>)
http/src/h3/proto/qpack/dynamic.rs:668
↓ 6 callersMethodinto_guarded
(self, cli: &C)
postgres/src/statement.rs:189
↓ 6 callersMethodis_positive
(self)
http/src/h2/proto/window.rs:123
↓ 6 callersMethodis_zero
Returns true if this stream ID is zero.
http/src/h2/proto/frame/stream_id.rs:59
↓ 6 callersMethodlen
(&self)
unsafe_collection/src/bound_queue/heap.rs:40
↓ 6 callersMethodnext
(&mut self)
http/src/util/futures.rs:16
↓ 6 callersMethodparse
Parse an HTTP/2 frame header
http/src/h2/proto/frame/head.rs:36
↓ 6 callersMethodpathname
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 callersFunctionprepare_driver
( info: ConnectInfo, io: Io, cfg: &mut Config, )
postgres/src/driver.rs:86
↓ 6 callersFunctionquery
()
web/src/handler/types/query.rs:91
↓ 6 callersFunctionrelease
()
tokio-uring/src/runtime/driver/mod.rs:665
↓ 6 callersMethodreplace_body
(self, body: B1)
http/src/http.rs:282
↓ 6 callersMethodreset
(&mut self)
http/src/h1/proto/context.rs:108
↓ 6 callersMethodretain_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 callersMethodroute
pass certain [Service] type to Route so it can be matched against the methods Route contains.
http/src/util/service/route.rs:54
↓ 6 callersMethodsession
Returns the negotiated ALPN protocol, if any.
tls/src/rustls.rs:92
↓ 6 callersFunctionset_once
(slot: &mut Option<T>, value: T, name: &'static str, len: &mut usize)
http/src/h3/proto/headers.rs:262
↓ 6 callersMethodslice_full
(self)
tokio-uring/src/buf/slice.rs:180
↓ 6 callersMethodstatx
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 callersMethodtick
(&mut self)
http/src/h2/proto/ping_pong.rs:34
↓ 6 callersMethodwake
(&mut self)
http/src/h2/proto/flow.rs:827
↓ 6 callersMethodwith_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 callersFunctiony
(e,n,t,s)
examples/file/static/client.626570da.js:1
↓ 5 callersMethodadd_child
Adds a child to this node, keeping wildcards at the end.
router/src/tree.rs:579
↓ 5 callersMethodbegin_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 callersMethodbody_borrow_mut
(&self)
web/src/context.rs:108
↓ 5 callersMethodbounds
(&self)
tokio-uring/src/buf/slice.rs:188
↓ 5 callersMethodbuild
(self)
server/src/builder.rs:155
↓ 5 callersMethodcall
(&self, _: ())
http/src/util/service/handler.rs:56
↓ 5 callersMethodcall
call next/inner services to complete where they would produce either a http response or an error.
web/src/middleware/sync.rs:44
↓ 5 callersMethodcapacity
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 callersFunctioncheck_encode_field
( init_fields: &[HeaderField], field: &[HeaderField], check: &dyn Fn(&mut Cursor<&mut
http/src/h3/proto/qpack/encoder.rs:306
↓ 5 callersFunctionclose
optimized version of postgres_protocol::frontend::close
postgres/src/protocol.rs:56
↓ 5 callersMethodclose
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 callersFunctioncollect
Drain a `Form` synchronously. Works because `Once` bodies are always `Poll::Ready`.
http-multipart/src/form.rs:272
↓ 5 callersFunctioncollect_body
Collect request or response body to Vec.
web/src/test.rs:10
↓ 5 callersFunctioncollect_string_body
Collect request or response body and parse it to String.
web/src/test.rs:28
↓ 5 callersFunctionconnect
(s: &str)
postgres/tests/runtime.rs:12
↓ 5 callersMethodconnection_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 callersFunctionconsume
(buf: &mut Cursor<&mut BytesMut>)
http/src/h2/proto/hpack/decoder.rs:444
↓ 5 callersFunctioncreate_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 callersFunctiondecode
(src: &[u8], buf: &mut BytesMut)
http/src/h2/proto/hpack/huffman/mod.rs:21
↓ 5 callersMethoddecode
Decodes the headers found in the given buffer.
http/src/h2/proto/hpack/decoder.rs:169
↓ 5 callersFunctiondenormalize_params
Restores `route` to it's original, denormalized form.
router/src/tree.rs:1118
↓ 5 callersMethoddeserialize
(&'de self)
web/src/handler/types/params.rs:40
↓ 5 callersFunctiondrain_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 callersMethodeat_byte
(&mut self)
postgres/src/config.rs:620
↓ 5 callersFunctionencode_chunked
()
http/src/h1/proto/trasnder_coding.rs:726
↓ 5 callersFunctionencode_int
Encode an integer into the given destination buffer
http/src/h2/proto/hpack/encoder.rs:239
↓ 5 callersMethodexecute
(self, pool: &'c Pool)
postgres/src/pool/execute.rs:22
↓ 5 callersMethodexecute
(self, cli: &'c Client)
postgres/examples/execute.rs:51
↓ 5 callersMethodfind
(&mut self, field: &HeaderField)
http/src/h3/proto/qpack/dynamic.rs:87
↓ 5 callersMethodflag
(&self)
http/src/h2/proto/frame/head.rs:56
↓ 5 callersMethodforwards
(&mut self, step: u32)
http/src/h3/proto/qpack/prefix_string/bitwin.rs:13
↓ 5 callersFunctionfrom_headers
(headers: &HeaderMap)
http-encoding/src/decode.rs:22
↓ 5 callersMethodget_mut_pinned_inner
(self: Pin<&mut Self>)
client/src/tunnel.rs:82
↓ 5 callersMethodhost
(&mut self, host: &str)
postgres/src/config.rs:178
↓ 5 callersMethodhostname
(&self)
client/src/connect.rs:18
↓ 5 callersMethodinsert
(&mut self, id: SettingId, value: u64)
http/src/h3/proto/frame.rs:407
↓ 5 callersMethodio
(&self)
http/src/h1/io.rs:56
← previousnext →301–400 of 3,753, ranked by callers