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
set_scheme
(&mut self, scheme: uri::Scheme)
http/src/h2/proto/frame/headers.rs:346
↓ 1 callers
Method
set_send_closed
(&mut self)
http-ws/src/codec.rs:124
↓ 1 callers
Method
set_trailers
(&mut self, trailers: HeaderMap)
client/src/response.rs:218
↓ 1 callers
Method
sharedfd_is_unique
Completes when the SharedFd's Inner Rc strong count is 1. Gets polled any time a SharedFd is dropped.
tokio-uring/src/io/shared_fd.rs:86
↓ 1 callers
Method
shutdown
(mut self, direction: Shutdown)
tls/src/openssl.rs:155
↓ 1 callers
Method
shutdown
(self, direction: Shutdown)
tls/src/rustls.rs:463
↓ 1 callers
Method
shutdown
(mut self, direction: Shutdown)
tls/src/native_tls.rs:164
↓ 1 callers
Method
shutdown
(mut self)
server/src/worker/shutdown.rs:46
↓ 1 callers
Method
simple_value
(&mut self)
postgres/src/config.rs:508
↓ 1 callers
Method
size_hint
(&self)
client/src/body.rs:110
↓ 1 callers
Method
size_hint
(&self)
http/src/http.rs:319
↓ 1 callers
Method
size_hint
(&self)
http/src/h2/body.rs:62
↓ 1 callers
Method
size_hint
(&self)
http/src/h1/body.rs:165
↓ 1 callers
Method
size_hint
(&self)
web/src/service/tower_http_compat.rs:134
↓ 1 callers
Method
size_hint
(&self)
http-multipart/src/form.rs:194
↓ 1 callers
Method
size_increment
(&self)
http/src/h2/proto/frame/window_update.rs:30
↓ 1 callers
Method
skip_value_index
(&self)
http/src/h2/proto/hpack/header.rs:183
↓ 1 callers
Function
slice_assume_init
SAFETY: The same rule as slice_assume_init_mut function
unsafe_collection/src/uninit.rs:17
↓ 1 callers
Method
socket_addr
(&self)
http/src/h1/proto/context.rs:180
↓ 1 callers
Function
spawn_task
( ping_interval: Duration, max_unanswered_ping: u8, decode: RequestStream<StreamDataBody<B>>,
web/src/handler/types/websocket.rs:210
↓ 1 callers
Method
ssl_mode
Sets the SSL configuration. Defaults to `prefer`.
postgres/src/config.rs:155
↓ 1 callers
Method
ssl_negotiation
Sets the SSL negotiation method. Defaults to `postgres`.
postgres/src/config.rs:168
↓ 1 callers
Method
stable_mut_ptr
(&mut self)
tokio-uring/src/buf/bounded.rs:191
↓ 1 callers
Method
stable_ptr
(&self)
tokio-uring/src/buf/bounded.rs:129
↓ 1 callers
Function
start_uring_wakes_task
(tokio_rt: &LocalRuntime, driver: driver::Handle)
tokio-uring/src/runtime/mod.rs:138
↓ 1 callers
Function
statx_builder
(path: P)
tokio-uring/examples/test_create_dir_all.rs:175
↓ 1 callers
Method
statx_builder
Returns a builder that can return statx(2) metadata for an open file using the uring device. `flags` and `mask` can be changed from their defaults an
tokio-uring/src/fs/statx.rs:71
↓ 1 callers
Function
statx_builder2
(dir_path: P, rel_path: P)
tokio-uring/examples/test_create_dir_all.rs:183
↓ 1 callers
Method
stream_id
(&self)
http/src/h2/proto/frame/window_update.rs:26
↓ 1 callers
Method
stream_id
(&self)
http/src/h2/proto/frame/reset.rs:25
↓ 1 callers
Method
submit_op_2
(&mut self, sqe: squeue::Entry)
tokio-uring/src/runtime/driver/mod.rs:117
↓ 1 callers
Method
submit_with_driver
(self, driver: &driver::Handle)
tokio-uring/src/runtime/driver/op/mod.rs:53
↓ 1 callers
Method
take_initial_metadata
Take initial metadata headers, if set.
http-grpc/src/stream.rs:177
↓ 1 callers
Method
target_session_attrs
Sets the requirements of the session. This can be used to connect to the primary server in a clustered database rather than one of the read-only seco
postgres/src/config.rs:224
↓ 1 callers
Function
tests
()
tokio-uring/examples/test_create_dir_all.rs:5
↓ 1 callers
Method
timeout
(self, dur: Duration)
client/src/response.rs:89
↓ 1 callers
Method
tls_accept_timeout
Change tls accept timeout for Http/1 and Http/2 connection. Connection can not finish tls handshake for this duration would be closed.
web/src/server.rs:122
↓ 1 callers
Method
tls_server_end_point
change the remote peer's tls certificates. it's often coupled with [`Postgres::connect_io`] API for manual tls session connecting and channel binding
postgres/src/config.rs:302
↓ 1 callers
Method
tls_shutdown
(&mut self)
tls/src/openssl.rs:202
↓ 1 callers
Method
tls_shutdown
Send a TLS close_notify alert, flushing any pending data first.
tls/src/rustls.rs:389
↓ 1 callers
Method
tls_shutdown
(&mut self)
tls/src/native_tls.rs:211
↓ 1 callers
Function
to_raw_capacity
(n: usize)
http/src/h2/proto/hpack/table.rs:645
↓ 1 callers
Method
track_block
(&mut self, stream_id: u64, refs: HashMap<usize, usize>)
http/src/h3/proto/qpack/dynamic.rs:423
↓ 1 callers
Method
trailers
collect trailers from Stream This method should be called after [`RequestStream::message`] yields None
http-grpc/src/stream.rs:116
↓ 1 callers
Method
trailers_check
(&self, end_stream: bool)
http/src/h2/proto/stream.rs:294
↓ 1 callers
Method
trailing_metadata
Set trailing metadata merged into the final trailers frame. These are combined with `grpc-status`. Trailers pushed via [`ResponseSender::send_trailer
http-grpc/src/stream.rs:171
↓ 1 callers
Method
transform_oneshot_output
(self, data: Self::StoredData, cqe: Entry)
tokio-uring/src/io/write.rs:27
↓ 1 callers
Method
transportable
certain StreamError variants are not meant to be sent to peer
http/src/h2/proto/stream.rs:448
↓ 1 callers
Method
truncate
Sets the option for truncating a previous file. If a file is successfully opened with this option set it will truncate the file to 0 length if it alr
tokio-uring/src/fs/open_options.rs:215
↓ 1 callers
Method
try_add
(&self, key: impl Into<K>, conn: C)
client/src/pool/exclusive.rs:122
↓ 1 callers
Function
try_append_allowed
(mut e: RouterError<E>, methods: &[Method])
http/src/util/service/route.rs:164
↓ 1 callers
Method
try_decode
(&mut self, buf: &mut BytesMut, flow: &mut FlowControl)
http/src/h2/dispatcher.rs:77
↓ 1 callers
Function
try_downcast_to_bytes
(item: T)
http-encoding/src/coder.rs:300
↓ 1 callers
Function
try_downcast_to_bytes
(item: T)
http-multipart/src/field.rs:224
↓ 1 callers
Method
try_extend_from_slice
(&mut self, slice: &[u8])
client/src/response.rs:213
↓ 1 callers
Method
try_go_away
try transit into GoAway state. Returns Some(last_stream_id) when succeeded
http/src/h2/proto/last_stream_id.rs:51
↓ 1 callers
Method
try_into_row_affected
(mut self)
postgres/src/driver/codec.rs:54
↓ 1 callers
Method
try_into_row_affected_blocking
(mut self)
postgres/src/driver/codec.rs:62
↓ 1 callers
Method
try_into_trailers
Interpret a decoded HTTP/3 header block as trailers. = https://www.rfc-editor.org/rfc/rfc9114#section-4.3 Pseudo-header fields MUST NOT appear in trai
http/src/h3/proto/headers.rs:125
↓ 1 callers
Function
try_match_empty_catchall
(node: &Node<T>)
router/src/tree.rs:1059
↓ 1 callers
Method
try_next
(&mut self)
postgres/src/driver.rs:255
↓ 1 callers
Method
try_next
(&mut self)
postgres/src/iter.rs:88
↓ 1 callers
Method
try_next
(&mut self)
postgres/src/query/stream.rs:57
↓ 1 callers
Method
try_recv
(&mut self)
http/src/h2/proto/flow.rs:808
↓ 1 callers
Method
try_recv_data
( &mut self, buffer: &mut FrameBuffer, data: Bytes, flow_len: RecvWindow,
http/src/h2/proto/stream.rs:49
↓ 1 callers
Method
try_recv_trailers
( &mut self, buffer: &mut FrameBuffer, trailers: HeaderMap, end_stream: bool,
http/src/h2/proto/stream.rs:88
↓ 1 callers
Function
try_remove_body
(buf: &mut BytesMut, skip_ct_te: bool, size: SizeHint, encoding: &mut TransferCoding)
http/src/h1/proto/encode.rs:210
↓ 1 callers
Method
try_revert_cancel_error
(&mut self)
http/src/h2/proto/stream.rs:316
↓ 1 callers
Method
try_send_window_update
Apply a peer WINDOW_UPDATE frame (always non-negative). Sets the stream as reset if the increment would overflow.
http/src/h2/proto/stream.rs:124
↓ 1 callers
Method
try_set
Advance the boundary to `id` if still incrementable. No-op once goaway, which is the mechanism by which post-GOAWAY HEADERS are dropped without bumpin
http/src/h2/proto/last_stream_id.rs:39
↓ 1 callers
Method
try_set
(&mut self, future: F)
unsafe_collection/src/futures.rs:173
↓ 1 callers
Method
try_set_peer_reset
Set an error on both sides without scheduling an outgoing RST_STREAM. Used for peer-initiated RST_STREAM where both RequestBody and response_task must
http/src/h2/proto/stream.rs:262
↓ 1 callers
Method
try_set_pending_ping
(&mut self)
http/src/h2/proto/flow.rs:512
↓ 1 callers
Function
try_triggering_collisions
(n_threads: u64, tries_per_thread: u64)
http-rate/src/state/in_memory.rs:78
↓ 1 callers
Method
try_update
(&mut self, settings: Settings)
http/src/h2/proto/flow.rs:844
↓ 1 callers
Method
typeinfo_composite_statement
(&self)
postgres/src/prepare.rs:221
↓ 1 callers
Method
typeinfo_composite_statement_blocking
(&self)
postgres/src/prepare.rs:300
↓ 1 callers
Method
typeinfo_enum_statement
(&self)
postgres/src/prepare.rs:200
↓ 1 callers
Method
typeinfo_enum_statement_blocking
(&self)
postgres/src/prepare.rs:277
↓ 1 callers
Method
typeinfo_statement
(&self)
postgres/src/prepare.rs:179
↓ 1 callers
Method
typeinfo_statement_blocking
(&self)
postgres/src/prepare.rs:256
↓ 1 callers
Function
unexpected_eof
()
http/src/h3/body_v2.rs:228
↓ 1 callers
Method
unregister
Unregisters this collection of buffers. This method must be called in the context of a `tokio-uring` runtime, where the buffers should have been prev
tokio-uring/src/buf/fixed/pool.rs:214
↓ 1 callers
Method
unset_end_stream
(&mut self)
http/src/h2/proto/frame/data.rs:202
↓ 1 callers
Method
update
(&mut self, cqe: CqeResult)
tokio-uring/src/io/send_zc.rs:54
↓ 1 callers
Method
update_header
(self, headers: &mut HeaderMap, version: http::Version)
http-encoding/src/coding.rs:155
↓ 1 callers
Method
update_idle
(&mut self)
client/src/pool/exclusive.rs:290
↓ 1 callers
Method
upstream_addr
set upstream postgres server the proxy would connect to.
postgres/src/proxy.rs:56
↓ 1 callers
Method
value_eq
(&self, other: &Header)
http/src/h2/proto/hpack/header.rs:139
↓ 1 callers
Method
with_async_state
Construct App with async closure which it's output would be used as state. async state is used to produce thread per core and/or non thread safe state
web/src/app/mod.rs:474
↓ 1 callers
Method
with_date
(&self, f: F)
client/src/date.rs:59
↓ 1 callers
Method
with_date_header
(&self, f: F)
client/src/date.rs:67
↓ 1 callers
Method
with_date_header
(&self, f: F)
http/src/date.rs:126
↓ 1 callers
Method
worker_threads
Set number of workers to start. Default set to available logical cpu as workers count. # Panics: When received 0 as number of worker thread.
server/src/builder.rs:69
↓ 1 callers
Method
write
(self, str: &mut StackStr)
postgres/src/transaction/builder.rs:32
↓ 1 callers
Method
write
(&mut self, buf: &[u8])
io/src/io/poll.rs:261
↓ 1 callers
Method
write
Sets the option for write access. This option, when true, will indicate that the file should be `write`-able if opened. If the file already exists,
tokio-uring/src/fs/open_options.rs:151
↓ 1 callers
Method
write_all_at
Attempts to write an entire buffer into this file at the specified offset. This method will continuously call [`write_at`] until there is no more dat
tokio-uring/src/fs/file.rs:572
↓ 1 callers
Method
write_all_slice
(&self, mut buf: Slice<T>)
tokio-uring/src/io/socket.rs:56
↓ 1 callers
Method
write_all_slice_at
(&self, mut buf: Slice<T>, mut pos: u64)
tokio-uring/src/fs/file.rs:581
← previous
next →
1,501–1,600 of 3,753, ranked by callers