MCPcopy Create free account

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

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

↓ 2 callersMethodadd_suffix_child
Adds a suffix child to this node, keeping suffixes sorted by ascending length.
router/src/tree.rs:592
↓ 2 callersMethodaddrs
Get resolved request addresses.
client/src/connect.rs:116
↓ 2 callersMethodallow_burst
Adjusts the maximum burst size for a quota to construct a rate limiter with a capacity for at most the given number of cells. # Panics - When max_bur
http-rate/src/quota.rs:103
↓ 2 callersMethodallowed_methods
slice of allowed methods of current route.
http/src/util/service/route.rs:183
↓ 2 callersMethodalpn_from_version
(&self)
client/src/builder.rs:252
↓ 2 callersFunctionapply_mask
(buf: &mut [u8], mask: [u8; 4])
http-ws/src/mask.rs:5
↓ 2 callersFunctionapply_mask_fast32
(buf: &mut [u8], mask: [u8; 4])
http-ws/src/mask.rs:19
↓ 2 callersMethodas_header_size
(&self)
http/src/h2/proto/frame/headers.rs:660
↓ 2 callersMethodas_raw_fd
(&self)
tokio-uring/src/net/tcp/stream.rs:300
↓ 2 callersMethodas_ref
(&self)
unsafe_collection/src/bytes/byte_str.rs:104
↓ 2 callersMethodas_response
(&mut self, body: ResB)
web/src/context.rs:141
↓ 2 callersMethodas_stream_size_hint
(&self)
http-body/src/size_hint.rs:55
↓ 2 callersFunctionassert_invalid_fd
(fd: RawFd)
tokio-uring/tests/fs_file.rs:324
↓ 2 callersFunctionassert_send
(_: &F)
http-file/src/lib.rs:200
↓ 2 callersMethodbacklog
(mut self, num: u32)
server/src/builder.rs:114
↓ 2 callersMethodbody_get_mut
(&mut self)
web/src/context.rs:116
↓ 2 callersFunctionbody_to_affected_rows
Extract the number of rows affected.
postgres/src/driver/codec.rs:112
↓ 2 callersMethodborrow_cli_mut
(&mut self)
postgres/src/transaction/builder.rs:202
↓ 2 callersMethodborrow_mut
(&mut self)
web/src/context.rs:173
↓ 2 callersFunctionbounded_split
(rem: &mut u64, buf: &mut BytesMut)
http/src/h1/proto/trasnder_coding.rs:539
↓ 2 callersMethodbuf_index
Index of the underlying registry buffer
tokio-uring/src/buf/fixed/handle.rs:58
↓ 2 callersMethodbuf_overflow
(&self)
http-multipart/src/lib.rs:256
↓ 2 callersFunctionbuf_read
(buf: &mut B, io: &mut Io)
io/src/bytes.rs:208
↓ 2 callersMethodbytes
Use pre allocated bytes as request body. Input type must implement [From] trait with [Bytes].
client/src/request.rs:75
↓ 2 callersMethodbytes_init
(&self)
tokio-uring/src/buf/bounded.rs:133
↓ 2 callersMethodbytes_init
(&self)
tokio-uring/src/buf/io_buf.rs:47
↓ 2 callersMethodbytes_init
(&self)
tokio-uring/src/buf/fixed/handle.rs:68
↓ 2 callersMethodbytes_total
(&self)
tokio-uring/src/buf/bounded.rs:137
↓ 2 callersMethodbytes_total
(&self)
tokio-uring/src/buf/fixed/handle.rs:72
↓ 2 callersMethodcall
(&self, req: ServiceRequest<'r, 'c>)
client/src/middleware/redirect.rs:51
↓ 2 callersMethodcall
(&self, (stream, addr): (QuicStream, SocketAddr))
http/src/h3/service.rs:40
↓ 2 callersMethodcall
(&self, ctx: WebContext<'_, C>)
examples/auth/src/utils/error.rs:27
↓ 2 callersMethodcall
(&self, ctx: WebContext<'r, C>)
examples/error-handle/src/main.rs:92
↓ 2 callersMethodcall
(&self, arg: Arg)
web/src/middleware/catch_unwind.rs:44
↓ 2 callersMethodcall
(&self, res: Result<S, E>)
web/src/middleware/tower_http_compat.rs:54
↓ 2 callersMethodcall
(&self, res: Result<S, E>)
web/src/middleware/compress.rs:26
↓ 2 callersMethodcall
(&self, _: ())
web/src/handler/types/html.rs:65
↓ 2 callersMethodcall
(&self, _: ())
web/src/handler/types/redirect.rs:78
↓ 2 callersMethodcan_free
(&mut self, required: usize)
http/src/h3/proto/qpack/dynamic.rs:381
↓ 2 callersMethodcancel
(&self)
postgres/src/statement.rs:116
↓ 2 callersMethodcapacity
(&self)
http/src/h2/proto/hpack/table.rs:104
↓ 2 callersMethodcheck_idle
check given id. return true when it's an idle id (higher than last stream id)
http/src/h2/proto/last_stream_id.rs:30
↓ 2 callersMethodchunk
(&self)
unsafe_collection/src/bytes/buf_list.rs:57
↓ 2 callersMethodchunks_vectored_uninit_into_init
Write the item inside BufList in front-end order to given uninitialized slice and return the initialized part as a new slice. # Example: ```rust let
unsafe_collection/src/bytes/uninit.rs:83
↓ 2 callersMethodclient_mode
Set decoder to client mode. By default decoder works in server mode.
http-ws/src/codec.rs:108
↓ 2 callersFunctionclient_request_extend
Extend a [Request] with websocket associated headers and methods. After extension the request would be ready to be sent to server. # HTTP/2 specific
http-ws/src/lib.rs:109
↓ 2 callersMethodclone
(&self)
service/src/middleware/map.rs:12
↓ 2 callersMethodcodec_mut
(&mut self)
http-ws/src/stream.rs:74
↓ 2 callersMethodcol_buffer
Get the raw bytes for the column at the given range.
postgres/src/row/types.rs:98
↓ 2 callersMethodconfig
replace service middleware's configuration.
http/src/builder.rs:143
↓ 2 callersFunctionconnect
()
postgres/tests/sync.rs:10
↓ 2 callersMethodconnect
Start a new connect request for http tunnel. # Example ```rust use xitca_client::{Client, bytes::Bytes}; # async fn _main() -> Result<(), xitca_clie
client/src/client.rs:196
↓ 2 callersMethodconnect
(&self)
postgres/src/pool.rs:278
↓ 2 callersMethodconnecting
Expose [`Connecting`] type that can be polled or awaited. # Examples: ```rust # use xitca_io::net::QuicStream; async fn handle(stream: QuicStream) {
io/src/net/quic.rs:94
↓ 2 callersMethodconverge
(&mut self, prev_idx: Option<usize>)
http/src/h2/proto/hpack/table.rs:364
↓ 2 callersFunctiondangerous_config
(alpn: Vec<Vec<u8>>)
postgres/src/driver/tls.rs:49
↓ 2 callersMethoddata_ref
(&self)
http-body/src/frame.rs:26
↓ 2 callersMethoddate
(&self)
http/src/h1/proto/context.rs:74
↓ 2 callersMethoddecode
Decodes a Frame from the stream according to <https://www.rfc-editor.org/rfc/rfc9114#section-7.1>
http/src/h3/proto/frame.rs:69
↓ 2 callersMethoddecode4
Decodes 4 bits
http/src/h2/proto/hpack/huffman/mod.rs:78
↓ 2 callersFunctiondecode_stateless
Decode field lines received on Request or Push stream. https://www.rfc-editor.org/rfc/rfc9204.html#name-field-line-representations
http/src/h3/proto/qpack/decoder.rs:227
↓ 2 callersMethoddecode_string
(&mut self, buf: &mut Cursor<&mut BytesMut>)
http/src/h2/proto/hpack/decoder.rs:313
↓ 2 callersFunctionderef_mut
(buf: &mut impl IoBufMut)
tokio-uring/src/buf/mod.rs:28
↓ 2 callersMethodderef_mut
(&mut self)
client/src/pool/shared.rs:171
↓ 2 callersMethoddisable_signal
Disable signal listening. `tokio::signal` is used for listening and it only functions in tokio runtime 1.x. Disabling it would enable server runs in
web/src/server.rs:83
↓ 2 callersFunctiondns_resolve
(host: &'p str, ports: &'p [u16])
postgres/src/driver.rs:144
↓ 2 callersFunctiondowncast_body
conditional boxing body to convert generic body type to conrete
web/src/body.rs:26
↓ 2 callersMethoddrain
(&mut self)
http/src/util/futures.rs:40
↓ 2 callersMethodeat
(&mut self, target: char)
postgres/src/config.rs:465
↓ 2 callersMethodenclosed_fn
Function version of [Self::enclosed] method.
service/src/service/ext.rs:21
↓ 2 callersMethodencode
(self, encoder: &mut hpack::Encoder, dst: &mut EncodeBuf<'_>)
http/src/h2/proto/frame/headers.rs:165
↓ 2 callersMethodencode
(&self, buf: &mut B)
http/src/h3/proto/coding.rs:24
↓ 2 callersMethodencode_body
Encode a [`Body`] with featured encoder
http-encoding/src/coding.rs:100
↓ 2 callersMethodencode_header
(&self, buf: &mut T)
http/src/h3/proto/frame.rs:287
↓ 2 callersMethodencode_headers
( &mut self, headers: &mut HeaderMap, size: SizeHint, buf: &mut BytesMut,
http/src/h1/proto/encode.rs:99
↓ 2 callersFunctionencode_int_one_byte
Returns true if the in the int can be fully encoded in the first byte.
http/src/h2/proto/hpack/encoder.rs:266
↓ 2 callersFunctionencode_not_indexed
(name: usize, value: &[u8], sensitive: bool, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:176
↓ 2 callersFunctionencode_not_indexed2
(name: &[u8], value: &[u8], sensitive: bool, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:182
↓ 2 callersMethodencode_size_updates
(&mut self, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:92
↓ 2 callersFunctionencode_statement_create
(name: &str, stmt: &str, types: &[Type], buf: &mut BytesMut)
postgres/src/driver/codec/encode.rs:82
↓ 2 callersFunctionencode_stmt_query
(stmt: &Statement, params: P, buf: &mut BytesMut)
postgres/src/driver/codec/encode.rs:133
↓ 2 callersMethodensure_zero
(&self)
http/src/h2/proto/stream.rs:302
↓ 2 callersMethodevict
(&mut self, to_evict: usize)
http/src/h3/proto/qpack/dynamic.rs:359
↓ 2 callersFunctionevict_if_generation_matches
(conns: &Mutex<HashMap<K, PooledConnection<C>>>, key: &K, generation: u64)
client/src/pool/shared.rs:114
↓ 2 callersMethodevicted
(&self, index: AbsoluteIndex)
http/src/h3/proto/qpack/vas.rs:108
↓ 2 callersMethodextend_response
extend response headers with status code and headers StatusCode: 429 Header: `x-ratelimit-after: <num in second>`
http-rate/src/error.rs:39
↓ 2 callersMethodextract
extract typed data from WebContext. type must impl [FromRequest] trait. this is a shortcut method that avoiding explicit import of mentioned trait. #
web/src/context.rs:75
↓ 2 callersMethodfallocate
Manipulate the allocated disk space of the file. The manipulated range starts at the `offset` and continues for `len` bytes. The specific manipulati
tokio-uring/src/fs/file.rs:818
↓ 2 callersMethodfind_name
(&mut self, name: &[u8])
http/src/h3/proto/qpack/dynamic.rs:180
↓ 2 callersMethodfinish
(&self)
unsafe_collection/src/no_hash.rs:16
↓ 2 callersFunctionfn_build
Shortcut for transform a given Fn into type impl [Service] trait.
service/src/service/function.rs:6
↓ 2 callersMethodfront_mut
(&mut self)
unsafe_collection/src/bound_queue/heap.rs:50
↓ 2 callersMethodget
(&self, id: SettingId)
http/src/h3/proto/frame.rs:424
↓ 2 callersMethodget
(&mut self)
http/src/h1/dispatcher.rs:249
↓ 2 callersMethodget_buf
(&self)
tokio-uring/src/buf/slice.rs:184
↓ 2 callersFunctionget_domain
(socket_addr: SocketAddr)
tokio-uring/src/io/socket.rs:22
↓ 2 callersMethodget_hosts
Gets the hosts that have been added to the configuration with `host`.
postgres/src/config.rs:201
↓ 2 callersMethodget_postbase
(&self, index: usize)
http/src/h3/proto/qpack/dynamic.rs:42
↓ 2 callersMethodget_ssl_negotiation
Gets the SSL negotiation method.
postgres/src/config.rs:174
↓ 2 callersMethodgrpc_stream
Start a new streaming gRPC request. Unlike [`Client::grpc`], the returned request resolves to a [`Grpc`] tunnel that implements both [`Sink`] (for se
client/src/client.rs:442
← previousnext →701–800 of 3,753, ranked by callers