MCPcopy Create free account

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

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

↓ 1 callersMethodwrite_buf_bytes_chunked
write bytes to buffer as `transfer-encoding: chunked` encoded.
http/src/h1/proto/buf_write.rs:41
↓ 1 callersMethodwrite_buf_head
(&mut self, func: F)
http/src/h1/proto/buf_write.rs:17
↓ 1 callersMethodwrite_buf_static
write `&'static [u8]` to buffer.
http/src/h1/proto/buf_write.rs:25
↓ 1 callersMethodwrite_buf_trailers
(&mut self, trailers: HeaderMap)
http/src/h1/proto/buf_write.rs:51
↓ 1 callersMethodwrite_fixed
(&self, buf: T)
tokio-uring/src/io/socket.rs:84
↓ 1 callersMethodwrite_fixed_all
(&self, buf: T)
tokio-uring/src/io/socket.rs:92
↓ 1 callersMethodwrite_fixed_all_at
Attempts to write an entire buffer into this file at the specified offset. This method will continuously call [`write_fixed_at`] until there is no mo
tokio-uring/src/fs/file.rs:682
↓ 1 callersMethodwrite_fixed_all_at_slice
(&self, mut buf: Slice<FixedBuf>, mut pos: u64)
tokio-uring/src/fs/file.rs:691
↓ 1 callersMethodwrite_fixed_all_slice
(&self, mut buf: Slice<FixedBuf>)
tokio-uring/src/io/socket.rs:101
↓ 1 callersFunctionwrite_grease_frame
Append a GREASE frame (reserved type `0x1f*N + 0x21`, empty payload) to `buf`. RFC 9114 §7.2.8: receivers MUST treat unknown types as no-ops, so emitt
http/src/h3/proto/dispatcher_v2.rs:366
↓ 1 callersMethodwrite_i16
(&mut self, i: i16)
unsafe_collection/src/no_hash.rs:55
↓ 1 callersMethodwrite_i32
(&mut self, i: i32)
unsafe_collection/src/no_hash.rs:60
↓ 1 callersMethodwrite_i64
(&mut self, i: i64)
unsafe_collection/src/no_hash.rs:65
↓ 1 callersMethodwrite_i8
(&mut self, i: i8)
unsafe_collection/src/no_hash.rs:50
↓ 1 callersMethodwrite_isize
(&mut self, i: isize)
unsafe_collection/src/no_hash.rs:70
↓ 1 callersFunctionwrite_nullable
(serializer: F, buf: &mut BytesMut)
postgres/src/protocol.rs:100
↓ 1 callersMethodwrite_u16
(&mut self, i: u16)
unsafe_collection/src/no_hash.rs:30
↓ 1 callersMethodwrite_u32
(&mut self, i: u32)
unsafe_collection/src/no_hash.rs:35
↓ 1 callersMethodwrite_u64
(&mut self, i: u64)
unsafe_collection/src/no_hash.rs:40
↓ 1 callersMethodwrite_u8
(&mut self, i: u8)
unsafe_collection/src/no_hash.rs:25
↓ 1 callersMethodwrite_usize
(&mut self, i: usize)
unsafe_collection/src/no_hash.rs:45
↓ 1 callersMethodwritev_at
Write data from buffers into this file at the specified offset, returning how many bytes were written. This function will attempt to write the entire
tokio-uring/src/fs/file.rs:283
↓ 1 callersFunctionwritev_at_all
This provides a common write-all implementation for writev and is fairly efficient by allocating the Vec<iovec> just once, and computing the individua
tokio-uring/src/io/writev_all.rs:16
↓ 1 callersMethodws
Start a new websocket request. # Example ```rust use xitca_client::{ws::Message, Client}; # async fn _main() -> Result<(), xitca_client::error::Erro
client/src/client.rs:302
↓ 1 callersMethodws2
Start a new websocket request with HTTP/2.
client/src/client.rs:312
↓ 1 callersFunctionz
(e,n,t,s)
examples/file/static/client.626570da.js:1
Function_assert_connect_send
()
postgres/src/lib.rs:180
Function_assert_driver_send
()
postgres/src/lib.rs:184
Function_assert_object_safe
(mut io: Box<dyn AsyncIoDyn>)
io/src/io/poll.rs:107
Function_assert_send2
()
postgres/src/lib.rs:178
Function_assert_send_sync
()
unsafe_collection/src/small_str.rs:283
Function_connect_quictry_collect
(stream: crate::RowStreamOwned)
postgres/src/iter.rs:166
Method_from_headers
(headers: &HeaderMap, needle: &HeaderName)
http-encoding/src/coding.rs:170
Method_get_mut_unchecked
(&mut self, idx: usize)
unsafe_collection/src/bound_queue/stack.rs:90
Method_get_unchecked
(&self, idx: usize)
unsafe_collection/src/bound_queue/stack.rs:84
Method_load
(head: Head, src: &mut BytesMut)
http/src/h2/proto/frame/priority.rs:40
Function_map_ok_err_try_collect
(stream: crate::RowStreamOwned)
postgres/src/iter.rs:158
Method_new
(methods: [Method; M], route: R)
http/src/util/service/route.rs:58
Method_read_unchecked
(&mut self, idx: usize)
unsafe_collection/src/bound_queue/stack.rs:96
Function_try_collect_into
(stream: crate::RowStreamOwned)
postgres/src/iter.rs:170
Function_try_get
(row: Row)
postgres/src/row/types.rs:213
Function_try_get_simple
(row: RowSimple)
postgres/src/row/types.rs:219
Method_write_unchecked
(&mut self, idx: usize, item: Self::Item)
unsafe_collection/src/bound_queue/stack.rs:102
Functionabsolute_from_real_index
()
http/src/h3/proto/qpack/vas.rs:258
Methodaccept
Perform a TLS server-side accept handshake.
tls/src/openssl.rs:33
Methodaccept
(ssl: Ssl, io: Io)
tls/src/openssl_poll.rs:30
Methodaccept
Perform a TLS server-side accept handshake.
tls/src/native_tls.rs:33
Methodaccept
(fd: &SharedFd)
tokio-uring/src/io/accept.rs:14
Methodaccept
Accepts a new incoming connection from this listener. This function will yield once a new Unix domain socket connection is established. When establis
tokio-uring/src/net/unix/listener.rs:91
Methodaccept
Accepts a new incoming connection from this listener. This function will yield once a new TCP connection is established. When established, the corres
tokio-uring/src/net/tcp/listener.rs:129
Methodaccept
(&self)
server/src/net/mod.rs:87
Methodaccepts_ext
(ty: &Type)
postgres/src/from_sql.rs:77
Functionaccepts_first_cell
()
http-rate/src/lib.rs:293
Functionaccepts_te_trailers_only
()
http/src/h3/proto/headers.rs:703
Methodack
()
http/src/h2/proto/frame/settings.rs:66
Functionack_header
(stream_id: u64, decoder: &mut W)
http/src/h3/proto/qpack/decoder.rs:63
Methodacquire
acquire a connection from pool. if a new connection needs to be made a spawner type would be returned.
client/src/pool/exclusive.rs:56
Functionactual_threadsafety
()
http-rate/src/lib.rs:242
Methodadd
(self, rhs: Self)
http/src/h2/proto/window.rs:45
Methodadd
(self, rhs: usize)
http/src/h3/proto/stream.rs:165
Methodadd
(self, rhs: Self)
http-body/src/size_hint.rs:30
Methodadd
(self, rhs: Nanos)
http-rate/src/nanos.rs:48
Methodadd
(self, other: Nanos)
http-rate/src/timer.rs:45
Methodadd_assign
(&mut self, rhs: Self)
http/src/h2/proto/window.rs:52
Methodadjust_start
copy/paste from postgres-protocol dependency.
postgres/src/from_sql.rs:58
Methodadvance
(&mut self, mut cnt: usize)
unsafe_collection/src/bytes/buf_list.rs:75
Methodadvance
(&mut self, cnt: usize)
unsafe_collection/src/bytes/limit.rs:85
Functionall_1_identical_to_1
()
http-rate/src/lib.rs:142
Functionall_capacity_check_rejects_excess
()
http-rate/src/lib.rs:208
Functionallow_62_bit
()
http/src/h3/proto/qpack/prefix_int.rs:165
Functionapp_nest_router
()
web/src/app/mod.rs:826
Functionappend_header
()
http/src/h1/proto/encode.rs:247
Methodarbitrary_with
(_args: ())
http-rate/src/gcra.rs:199
Methodas_fd
(&self)
io/src/net/tcp.rs:70
Methodas_fd
(&self)
io/src/net/unix.rs:64
Methodas_fd
(&self)
tokio-uring/src/io/socket.rs:274
Methodas_raw_fd
(&self)
tokio-uring/src/io/socket.rs:268
Methodas_raw_fd
(&self)
tokio-uring/src/runtime/driver/handle.rs:118
Methodas_raw_fd
(&self)
tokio-uring/src/runtime/driver/mod.rs:342
Methodas_raw_fd
(&self)
tokio-uring/src/fs/file.rs:862
Methodas_ref
(&self)
unsafe_collection/src/small_str.rs:249
Methodas_ref
(&self)
unsafe_collection/src/bytes/limit.rs:140
Methodas_response
(&mut self, body: B)
http/src/http.rs:154
Methodas_version
(&self)
http/src/tls/openssl.rs:19
Methodas_version
(&self)
http/src/tls/rustls.rs:19
Methodas_version
(&self)
http/src/tls/native_tls.rs:18
Methodassert_valid_state
(&self, _: &'static str)
http/src/h2/proto/hpack/table.rs:519
Methodat
(&self, path: &str)
router/src/router.rs:61
Functionauth
a dummy authenticate route.
examples/cookie/src/main.rs:44
Methodauthory_mut
(&mut self)
http/src/h3/proto/headers.rs:155
Methodbacklog
(mut self, backlog: u32)
io/src/net/quic.rs:64
Methodbacklog
(mut self, num: u32)
web/src/server.rs:88
Functionbacktracking_trailing_slash
()
router/tests/match.rs:471
Methodbad_request
construct an ErrorStatus type from [`StatusCode::BAD_REQUEST`]
web/src/error/status.rs:35
Functionbare_catchall
()
router/tests/insert.rs:424
Functionbare_catchall
()
router/tests/match.rs:112
Functionbase_index_too_small
()
http/src/h3/proto/qpack/block.rs:467
Functionbasic
()
http-file/src/lib.rs:312
Functionbasic
()
router/tests/match.rs:639
Functionbasic
()
http-multipart/src/lib.rs:284
← previousnext →1,601–1,700 of 3,753, ranked by callers