MCPcopy Create free account

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

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

↓ 1 callersMethodconsolidate
(&mut self)
http/src/h2/proto/hpack/decoder.rs:516
↓ 1 callersMethodconsume
(self)
postgres/src/pool/connection.rs:143
↓ 1 callersMethodconsume_pending_field
(mut self: Pin<&mut Self>)
http-multipart/src/lib.rs:226
↓ 1 callersFunctioncontent_length_opt
(headers: &HeaderMap)
http-multipart/src/header.rs:73
↓ 1 callersMethodcreate
Creates the specified directory with the options configured in this builder. It is considered an error if the directory already exists unless recursi
tokio-uring/src/fs/create_dir_all.rs:105
↓ 1 callersMethodcreation_mode
(&self)
tokio-uring/src/fs/open_options.rs:350
↓ 1 callersMethoddata_check
(&mut self, len: usize, flow_len: RecvWindow, end_stream: bool)
http/src/h2/proto/stream.rs:278
↓ 1 callersFunctiondate_to_header
(date: HttpDate)
http-file/src/date.rs:56
↓ 1 callersMethoddec
Subtract `len` bytes received in a DATA frame. Returns `Err(())` if this would underflow (overflow: more data than declared).
http/src/h2/proto/size.rs:42
↓ 1 callersMethoddecode
(&mut self)
http/src/h1/body.rs:186
↓ 1 callersMethoddecode_body
Decode a [`Body`] with featured decoder. Symmetric to [`encode_body`](Self::encode_body). Use this when decoding outside of an HTTP response context
http-encoding/src/coding.rs:131
↓ 1 callersMethoddecode_frame
( &mut self, head: head::Head, frame: BytesMut, flow: &mut FlowControl, )
http/src/h2/dispatcher.rs:107
↓ 1 callersMethoddecode_head
( &mut self, buf: &mut BytesMut, )
client/src/h1/proto/decode.rs:13
↓ 1 callersMethoddecode_indexed
(&self, buf: &mut Cursor<&mut BytesMut>)
http/src/h2/proto/hpack/decoder.rs:244
↓ 1 callersMethoddecode_next
(&self, bit_pos: &mut BitWindow, input: &[u8])
http/src/h3/proto/qpack/prefix_string/decode.rs:57
↓ 1 callersMethoddecoder
(&self, base: usize)
http/src/h3/proto/qpack/dynamic.rs:247
↓ 1 callersMethoddecompress
(&self, payload: BytesMut)
http-grpc/src/codec.rs:122
↓ 1 callersFunctiondefault_version_for_scheme
Pick a sensible default HTTP version for a request based on the URI scheme. For TLS schemes (`https`/`wss`) the client can use ALPN to negotiate up t
client/src/client.rs:54
↓ 1 callersMethoddependency_id
(&self)
http/src/h2/proto/frame/priority.rs:76
↓ 1 callersMethodderef
(&self)
client/src/date.rs:29
↓ 1 callersMethodderef_mut
(&mut self)
client/src/h1/proto/context.rs:26
↓ 1 callersMethoddeserialize
(&'de self)
web/src/handler/types/json.rs:115
↓ 1 callersMethoddeserialize
(&'de self)
web/src/handler/types/query.rs:47
↓ 1 callersMethoddeserialize_map
(self, visitor: V)
web/src/handler/types/params.rs:200
↓ 1 callersMethoddeserialize_unit
(self, visitor: V)
web/src/handler/types/params.rs:140
↓ 1 callersMethoddo_cancel
(&mut self)
postgres/src/copy.rs:100
↓ 1 callersFunctiondowncast_body
conditional boxing body to convert generic body type to conrete
client/src/body.rs:22
↓ 1 callersMethoddrain_expired
(&mut self, now: Instant)
http/src/h2/proto/reset_counter.rs:42
↓ 1 callersFunctiondrive_uring
(drv: GenericDriver<xitca_io::net::TcpStream>)
postgres/src/pool/connect.rs:73
↓ 1 callersFunctiondrive_uring_wakes
(driver: AsyncFd<driver::Handle>)
tokio-uring/src/runtime/mod.rs:147
↓ 1 callersMethoddrop
(&mut self)
http/src/h3/proto/qpack/dynamic.rs:57
↓ 1 callersMethodduplicate
(mut self)
http-ws/src/codec.rs:115
↓ 1 callersMethoddyn_err
(&self)
web/src/error/mod.rs:606
↓ 1 callersMethodearliest_possible
(&self)
http-rate/src/gcra.rs:35
↓ 1 callersMethodeat_if
(&mut self, target: char)
postgres/src/config.rs:476
↓ 1 callersFunctionecho_handler
A loop that echoes input to output. Use one fixed buffer for receiving and sending the response back. Once the connection is closed, the function retu
tokio-uring/examples/tcp_listener_fixed_buffers.rs:53
↓ 1 callersFunctionee
(e,n,t={})
examples/file/static/client.626570da.js:1
↓ 1 callersMethodenable_io_uring
(mut self)
web/src/server.rs:184
↓ 1 callersMethodencode
Encode a set of headers into the provide buffer
http/src/h2/proto/hpack/encoder.rs:57
↓ 1 callersMethodencode
(&self, dst: &mut B)
http/src/h2/proto/frame/ping.rs:36
↓ 1 callersMethodencode
(self, buf: &mut BytesMut)
postgres/src/driver/codec/encode.rs:46
↓ 1 callersMethodencode
Encode a protobuf message into gRPC length-prefixed framing. Writes to `dst`: 1 byte compression flag + 4 byte big-endian length + payload. When comp
http-grpc/src/codec.rs:105
↓ 1 callersMethodencode_chunk
Encode the data frame into the `dst` buffer. # Panics Panics if `dst` cannot contain the data frame.
http/src/h2/proto/frame/data.rs:158
↓ 1 callersMethodencode_head
( &mut self, buf: &mut BytesMut, req: &mut Request<B>, )
client/src/h1/proto/encode.rs:14
↓ 1 callersMethodencode_head_inner
(&mut self, parts: Parts, body: &B, buf: &mut BytesMut)
http/src/h1/proto/encode.rs:34
↓ 1 callersMethodencode_header
(&mut self, index: &Index, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:109
↓ 1 callersMethodencode_header_without_name
(&mut self, last: &Index, value: &HeaderValue, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:150
↓ 1 callersMethodencode_version_status_reason
(&self, buf: &mut BytesMut, status: StatusCode)
http/src/h1/proto/encode.rs:74
↓ 1 callersMethodencode_with_payload
(&mut self, buf: &mut T)
http/src/h3/proto/frame.rs:157
↓ 1 callersFunctionencrypt_to_buf
Encrypt plaintext into the write buffer, resizing if needed.
tls/src/rustls.rs:518
↓ 1 callersMethodend
Ofset in the underlying buffer at which this slice ends. # Examples ``` use tokio_uring_xitca::buf::BoundedBuf; let buf = b"hello world".to_vec();
tokio-uring/src/buf/slice.rs:65
↓ 1 callersMethodends
(self)
http/src/h3/proto/qpack/prefix_string/encode.rs:72
↓ 1 callersMethodensure_free_space
(&mut self, bit_count: u32)
http/src/h3/proto/qpack/prefix_string/encode.rs:31
↓ 1 callersFunctionentry_new
create new entry inside pool and reserve one permit immediately from the entry capacity.
client/src/pool/exclusive.rs:151
↓ 1 callersMethodevict
(&mut self, prev_idx: Option<usize>)
http/src/h2/proto/hpack/table.rs:375
↓ 1 callersMethodexact
(size: U)
http-body/src/size_hint.rs:47
↓ 1 callersMethodexecute
(self, cli: &Client)
postgres/src/execute/async_impl.rs:26
↓ 1 callersFunctionfatal_error
fatal error that can not be recovered.
server/src/worker/mod.rs:100
↓ 1 callersMethodfd
(&self)
tokio-uring/src/io/shared_fd.rs:61
↓ 1 callersMethodfetch_value
(&self, bit_pos: &mut BitWindow, input: &[u8])
http/src/h3/proto/qpack/prefix_string/decode.rs:50
↓ 1 callersFunctionfield
(n: usize)
http/src/h3/proto/qpack/decoder.rs:567
↓ 1 callersMethodfilename
(&self, slice: &'h [u8])
http-multipart/src/content_disposition.rs:48
↓ 1 callersMethodfilename_from_headers
(&self, headers: &'h HeaderMap)
http-multipart/src/content_disposition.rs:37
↓ 1 callersFunctionfind_new_service_rt_err_ty
(func: &ImplItemFn)
codegen/src/service.rs:391
↓ 1 callersMethodflow_controlled_len
(&self)
http/src/h2/proto/frame/data.rs:142
↓ 1 callersMethodflush
(&mut self)
postgres/src/driver/quic.rs:214
↓ 1 callersMethodflush
(&self)
tokio-uring/src/runtime/driver/handle.rs:58
↓ 1 callersMethodfor_each_mut
Iterates over the tree by mutable reference and calls the given visitor function with fully resolved path and a mutable reference to its value.
router/src/tree.rs:772
↓ 1 callersMethodformat_headers_into
(&self, buf: &mut BytesMut)
http-multipart/src/form.rs:139
↓ 1 callersFunctionfree_port
Bind to port 0 and immediately release it to get a free port number. There is a small TOCTOU window, but it is acceptable for CI where port collisions
test/tests/h2spec.rs:44
↓ 1 callersMethodfront_mut_unchecked
SAFETY: caller must make sure self is not empty
unsafe_collection/src/bound_queue/mod.rs:102
↓ 1 callersMethodfront_unchecked
SAFETY: caller must make sure self is not empty
unsafe_collection/src/bound_queue/mod.rs:75
↓ 1 callersFunctiongenerate_boundary
Generate a boundary that is unique within the current process. The boundary is not cryptographically random. For environments where the boundary mus
http-multipart/src/form.rs:250
↓ 1 callersMethodget_composite_fields
(&self, oid: Oid)
postgres/src/prepare.rs:166
↓ 1 callersMethodget_composite_fields_blocking
(&self, oid: Oid)
postgres/src/prepare.rs:241
↓ 1 callersMethodget_enum_variants
(&self, oid: Oid)
postgres/src/prepare.rs:155
↓ 1 callersMethodget_enum_variants_blocking
(&self, oid: Oid)
postgres/src/prepare.rs:232
↓ 1 callersMethodget_ssl_mode
Gets the SSL configuration.
postgres/src/config.rs:161
↓ 1 callersFunctionget_static
Get an entry from the static table
http/src/h2/proto/hpack/decoder.rs:567
↓ 1 callersMethodget_target_session_attrs
Gets the requirements of the session.
postgres/src/config.rs:230
↓ 1 callersMethodget_tls_server_end_point
(&self)
postgres/src/config.rs:307
↓ 1 callersMethodget_user
Gets the user to authenticate with, if one has been configured with the `user` method.
postgres/src/config.rs:95
↓ 1 callersMethodget_zc
zero copy version of [`Self::get`] see [`FromSqlExt`] trait for explanation
postgres/src/row/types.rs:133
↓ 1 callersMethodgrow
(&mut self, new_raw_cap: usize)
http/src/h2/proto/hpack/table.rs:461
↓ 1 callersFunctionh2_config
()
examples/multi-http-services/src/main.rs:92
↓ 1 callersMethodh2_max_concurrent_streams
Define the maximum number of concurrent HTTP/2 streams per connection.
http/src/config.rs:139
↓ 1 callersFunctionh3_config
()
examples/multi-http-services/src/main.rs:116
↓ 1 callersFunctionh3_handler
( fut: Fut, mut stream: RequestStream<C, Bytes>, )
http/src/h3/proto/dispatcher.rs:95
↓ 1 callersMethodhandle
(&self)
client/src/date.rs:53
↓ 1 callersMethodhandle_continuation
( &mut self, head: head::Head, frame: BytesMut, flow: &mut FlowControl, )
http/src/h2/dispatcher.rs:169
↓ 1 callersFunctionhandle_control_frame
(frame: Frame<PayloadLen>, state: &State)
http/src/h3/proto/dispatcher_v2.rs:545
↓ 1 callersFunctionhandle_error
( ctx: &mut Context<'_, D, H_LIMIT>, buf: &mut W, err: Error<S, B>, )
http/src/h1/dispatcher.rs:282
↓ 1 callersFunctionhandle_peer_uni_stream
(mut recv: RecvStream, state: State)
http/src/h3/proto/dispatcher_v2.rs:423
↓ 1 callersFunctionhandle_request_stream
( mut send: SendStream, mut recv: RecvStream, addr: SocketAddr, service: &S, state: State,
http/src/h3/proto/dispatcher_v2.rs:716
↓ 1 callersFunctionhandler
( _res: Result<UriRef<'_>, Error>, _opt: Option<UriRef<'_>>, _req: &WebRequest<()>,
web/src/app/mod.rs:722
↓ 1 callersFunctionhandler_sync_service
synchronous version of [handler_service] `handler_sync_service` run given function on a separate thread pool from the event loop and async logic of x
web/src/handler/sync.rs:37
↓ 1 callersFunctionhandshake
( io: &'a (impl AsyncBufRead + AsyncBufWrite), buf: BytesMut, timer: Pin<&'a mut KeepAlive>, )
http/src/h2/dispatcher.rs:657
↓ 1 callersMethodhandshake
(io: Io, conn: C)
tls/src/rustls.rs:103
↓ 1 callersFunctionhandshake_h2
Verify HTTP/2 WebSocket handshake request and create handshake response. # Protocol validation This function does **not** verify the `:protocol` pseu
http-ws/src/lib.rs:178
↓ 1 callersFunctionhandshake_response
Create WebSocket handshake response. This function returns handshake `http::response::Builder`, ready to send to peer.
http-ws/src/lib.rs:229
← previousnext →1,101–1,200 of 3,753, ranked by callers