MCPcopy Create free account

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

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

↓ 2 callersMethodsend_trailers
Send trailing metadata. Consumes the sender as no more messages can follow.
http-grpc/src/stream.rs:317
↓ 2 callersFunctionsensitive_byte
(sensitive: bool)
http/src/h2/proto/hpack/encoder.rs:189
↓ 2 callersFunctionserve_one
drives a single h2 server connection: accepts one request, replies with 200, optionally sends GOAWAY, then drains the connection until it closes.
client/src/pool/service.rs:519
↓ 2 callersMethodserver_threads
Set number of threads dedicated to accepting connections. Default set to 1. # Panics: When receive 0 as number of server thread.
web/src/server.rs:55
↓ 2 callersMethodset_destroy_on_drop
(&mut self)
client/src/pool/shared.rs:234
↓ 2 callersMethodset_handle
Initialize the driver.
tokio-uring/src/runtime/context.rs:19
↓ 2 callersMethodset_head_method
(&mut self)
http/src/h1/proto/context.rs:126
↓ 2 callersMethodset_init
(&mut self, pos: usize)
tokio-uring/src/buf/fixed/handle.rs:82
↓ 2 callersMethodset_max_size
Set max frame size. By default max size is set to 64kB.
http-ws/src/codec.rs:84
↓ 2 callersMethodset_type
(&self, oid: Oid, type_: &Type)
postgres/src/client.rs:251
↓ 2 callersMethodset_typeinfo
(&self, statement: &Statement)
postgres/src/client.rs:215
↓ 2 callersMethodset_typeinfo_composite
(&self, statement: &Statement)
postgres/src/client.rs:229
↓ 2 callersMethodset_typeinfo_enum
(&self, statement: &Statement)
postgres/src/client.rs:243
↓ 2 callersMethodshrink_to_fit
Shrinks the capacity of the rate limiter's state store, if possible.
http-rate/src/state/keyed.rs:149
↓ 2 callersMethodshutdown
(self, write_buf: BytesMut)
http/src/h1/dispatcher.rs:207
↓ 2 callersMethodsize_hint
(&self)
http-file/src/chunk.rs:62
↓ 2 callersFunctionslice_assume_init_mut
SAFETY: It is up to the caller to guarantee that the `MaybeUninit<T>` elements really are in an initialized state. Calling this when the content is n
unsafe_collection/src/uninit.rs:10
↓ 2 callersFunctionspare_capacity_mut
Get a mutable slice over the spare (uninitialized) capacity of a `BoundedBufMut`. The returned slice is safe to write into freely. It is however unsa
tls/src/bridge.rs:125
↓ 2 callersMethodspawned
(mut self, conn: C)
client/src/pool/shared.rs:214
↓ 2 callersMethodsplice
Replaces the characters in the given range and returns the removed portion.
router/src/escape.rs:55
↓ 2 callersFunctionsplit_bytes
split chunked item bytes. determined streamable bytes are returned. the rest part is extended onto multipart's internal buffer.
http-multipart/src/field.rs:202
↓ 2 callersMethodstable_mut_ptr
(&mut self)
tokio-uring/src/buf/fixed/handle.rs:78
↓ 2 callersMethodstable_ptr
(&self)
tokio-uring/tests/driver.rs:15
↓ 2 callersFunctionstart
(listener: &ListenerDyn, service: &Rc<S>)
server/src/worker/mod.rs:19
↓ 2 callersMethodstarting_state
Computes and returns a new ratelimiter state if none exists yet.
http-rate/src/gcra.rs:85
↓ 2 callersFunctionstate
(input: DeriveInput)
codegen/src/state.rs:5
↓ 2 callersFunctionstatx
Returns statx(2) metadata for a path via a uring call. The libc::statx structure returned is described in the statx(2) man page. This high level ver
tokio-uring/src/fs/statx.rs:105
↓ 2 callersMethodstream_window_update
(&mut self, id: StreamId, size: RecvWindow)
http/src/h2/proto/flow.rs:765
↓ 2 callersMethodsuffix_wild_child_in_segment
Returns `true` if there is a wildcard parameter node that contains a suffix within the current route segment, i.e. before a trailing slash.
router/src/tree.rs:442
↓ 2 callersMethodsync_data
Attempts to sync file data to disk. This method is similar to [`sync_all`], except that it may not synchronize file metadata to the filesystem. This
tokio-uring/src/fs/file.rs:789
↓ 2 callersMethodtake_body_mut
(&mut self)
web/src/context.rs:152
↓ 2 callersMethodtake_extensions
(&mut self)
http/src/h1/proto/context.rs:88
↓ 2 callersMethodtake_headers
(&mut self)
http/src/h1/proto/context.rs:82
↓ 2 callersMethodtake_while
(&mut self, f: F)
postgres/src/config.rs:445
↓ 2 callersFunctiontempfile
()
tokio-uring/tests/driver.rs:126
↓ 2 callersFunctiontest_range
(dir: ServeDir<FS>)
http-file/src/lib.rs:322
↓ 2 callersFunctiontest_server
A general test server for any given service type that accept the connection from xitca-server
test/src/lib.rs:29
↓ 2 callersFunctionto_http_date
(header: Option<&HeaderValue>)
http-file/src/date.rs:47
↓ 2 callersFunctiontouch_file
(path: P)
tokio-uring/examples/test_create_dir_all.rs:214
↓ 2 callersMethodtrack_cancel
(&mut self, refs: T)
http/src/h3/proto/qpack/dynamic.rs:436
↓ 2 callersMethodtransaction
(&mut self)
postgres/src/client.rs:167
↓ 2 callersMethodtransaction
with above traits implements you can begin a transaction with your client new type
postgres/examples/pooling.rs:72
↓ 2 callersMethodtruncate
(&mut self, n: usize)
unsafe_collection/src/bound_queue/stack.rs:57
↓ 2 callersMethodtry_collect_into
(mut self, collection: &mut T)
postgres/src/iter.rs:57
↓ 2 callersFunctiontry_decoder
(headers: &HeaderMap, body: S)
http-encoding/src/decode.rs:14
↓ 2 callersMethodtry_encode
Encode a response body, updating response headers accordingly. Skips encoding if the response already has a `Content-Encoding` header, or if the stat
http-encoding/src/coding.rs:78
↓ 2 callersFunctiontry_extend_ready_impl
( base: TokenStream2, ready_impl: Option<ReadyImpl<'_>>, service_ty: &TypePath, generics: &Pun
codegen/src/service.rs:111
↓ 2 callersMethodtry_get
(&self)
postgres/src/pool.rs:262
↓ 2 callersMethodtry_into_tcp
try to unwrap driver that using unencrypted tcp connection
postgres/src/driver.rs:234
↓ 2 callersMethodtry_map
(self, func: F)
postgres/src/iter.rs:37
↓ 2 callersFunctiontry_next
( res: &mut Response, col: &'r [Column], ranges: &'r mut Vec<Range<usize>>, )
postgres/src/query/stream.rs:62
↓ 2 callersMethodtry_next
(&mut self)
postgres/src/driver/generic.rs:382
↓ 2 callersMethodtry_next
Returns a buffer of requested capacity from this pool that is not currently owned by any other [`FixedBuf`] handle. If no such free buffer is availabl
tokio-uring/src/buf/fixed/pool.rs:234
↓ 2 callersMethodtry_put
(&mut self, byte: u8)
http/src/h1/proto/trasnder_coding.rs:59
↓ 2 callersMethodtry_read
(&mut self)
postgres/src/driver/generic.rs:266
↓ 2 callersFunctiontry_read_response
( stream: &mut S, buf: &mut BytesMut, ctx: &mut Context<'_, '_, 128>, )
client/src/h1/proto/dispatcher.rs:241
↓ 2 callersMethodtry_read_stream
(mut self: Pin<&mut Self>)
http-multipart/src/lib.rs:248
↓ 2 callersMethodtry_set_close_from_header
(&mut self, val: &HeaderValue)
http/src/h1/proto/decode.rs:158
↓ 2 callersMethodtry_set_last_stream_id
(&mut self, id: StreamId)
http/src/h2/proto/flow.rs:334
↓ 2 callersMethodtry_set_pending_error
(&mut self, err: StreamError)
http/src/h2/proto/stream.rs:308
↓ 2 callersMethodtry_tick_reset
(&mut self)
http/src/h2/proto/flow.rs:516
↓ 2 callersMethodtry_update
(&mut self, other: Self)
http-encoding/src/coding.rs:220
↓ 2 callersMethodtry_write
(&mut self)
postgres/src/driver/generic.rs:280
↓ 2 callersMethodtry_write_header
( &mut self, headers: &mut HeaderMap, decoder: &mut TransferCoding, idx: &Head
http/src/h1/proto/decode.rs:110
↓ 2 callersMethodtypeinfo
(&self)
postgres/src/client.rs:205
↓ 2 callersMethodtypeinfo_composite
(&self)
postgres/src/client.rs:219
↓ 2 callersMethodtypeinfo_enum
(&self)
postgres/src/client.rs:233
↓ 2 callersFunctionunexpected_eof_err
()
postgres/src/error.rs:400
↓ 2 callersMethodunregister_buffers
(&mut self, buffers: Rc<RefCell<dyn FixedBuffers>>)
tokio-uring/src/runtime/driver/mod.rs:106
↓ 2 callersMethodunset_driver
(&self)
tokio-uring/src/runtime/context.rs:27
↓ 2 callersFunctionunspecified_socket_addr
()
io/src/net/unix.rs:59
↓ 2 callersMethodunsplit
Try to unsplit and join a pair of reader and write back to one stream Return Some when the pair belong to the same stream
tokio-uring/src/net/tcp/stream.rs:263
↓ 2 callersMethodupcast
upcast Error to trait object for advanced error handling. See [std::error::Error] for usage
web/src/error/mod.rs:243
↓ 2 callersMethodupdate_and_wake_send_streams
Apply `delta` to every active send stream's window and wake any that now have a positive window. Use `delta = 0` to wake without changing windows (e.g
http/src/h2/proto/flow.rs:138
↓ 2 callersMethodupdate_child_priority
Increments priority of the given child node, reordering the children if necessary. Returns the new index of the node.
router/src/tree.rs:603
↓ 2 callersMethodupdate_first_request_deadline
(&self, timer: core::pin::Pin<&mut KeepAlive>)
http/src/service.rs:145
↓ 2 callersMethodupdate_size
(&mut self, len: usize, prev_idx: Option<usize>)
http/src/h2/proto/hpack/table.rs:359
↓ 2 callersFunctionusable_capacity
(cap: usize)
http/src/h2/proto/hpack/table.rs:640
↓ 2 callersMethodvalue
(self)
http/src/h2/proto/window.rs:20
↓ 2 callersFunctionverify_handshake
Verify WebSocket handshake request and return `SEC_WEBSOCKET_KEY` header value as `&[u8]`
http-ws/src/lib.rs:190
↓ 2 callersFunctionversion_check
(version: Version)
client/src/builder.rs:585
↓ 2 callersMethodwait
(&self)
tokio-uring/src/runtime/driver/mod.rs:59
↓ 2 callersFunctionwait_for_stop
( handles: Vec<JoinHandle<()>>, services: Vec<ServiceAny>, shutdown_timeout: Duration, is_grac
server/src/worker/mod.rs:55
↓ 2 callersMethodwait_time_from
(&self, from: P)
http-rate/src/gcra.rs:47
↓ 2 callersMethodwake
(&mut self)
postgres/src/driver/generic.rs:138
↓ 2 callersMethodwhite_list
set address that belong to proxy's whitelist. once set address do not belong in the list would be reject from proxy.
postgres/src/proxy.rs:69
↓ 2 callersMethodwith_date
(&self, f: F)
http/src/date.rs:117
↓ 2 callersMethodwrite
(&self, buf: T)
tokio-uring/src/io/socket.rs:46
↓ 2 callersFunctionwrite_all
Write all bytes from a buffer to IO.
tokio-uring/src/io/async_buf_write.rs:38
↓ 2 callersFunctionwrite_counted
(items: I, mut serializer: F, buf: &mut BytesMut)
postgres/src/protocol.rs:84
↓ 2 callersFunctionwrite_length_header
(buf: &mut BytesMut, size: u64)
http/src/h1/proto/encode.rs:227
↓ 2 callersMethodwrite_tls
Write path: owns the IO write side exclusively. Flushes protocol data buffered by the read path before its own ciphertext.
tls/src/openssl.rs:170
↓ 2 callersMethodwrite_tls
Encrypt plaintext and write all ciphertext to IO.
tls/src/rustls.rs:321
↓ 2 callersMethodwrite_tls
(&mut self)
tls/src/rustls_poll.rs:40
↓ 2 callersMethodwrite_tls
Write path: owns the IO write side exclusively. Flushes protocol data buffered by the read path before its own ciphertext.
tls/src/native_tls.rs:179
↓ 2 callersFunctionwrite_with
(stream: &mut TlsStream<C, Io>, mut func: F)
tls/src/rustls_poll.rs:167
↓ 2 callersFunctionws
A shortcut for generating a set of response types with given [Request] and `<Body>` type. `<Body>` must be a type impl [futures_core::Stream] trait w
http-ws/src/lib.rs:318
↓ 2 callersFunctionws_version_check
check supported version
http-ws/src/lib.rs:244
↓ 1 callersFunctionD
(e)
examples/file/static/client.626570da.js:1
↓ 1 callersFunctionG
(e,n,t)
examples/file/static/client.626570da.js:1
← previousnext →901–1,000 of 3,753, ranked by callers