MCPcopy Create free account

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

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

↓ 198 callersMethodmap_err
Mutate `<Self::Response as Service<Req>>::Error` type with given closure.
service/src/service/ext.rs:40
↓ 187 callersMethodmap
Mutate `<<Self::Response as Service<Req>>::Future as Future>::Output` type with given closure.
web/src/app/mod.rs:523
↓ 150 callersMethodnow_or_panic
(&mut self)
unsafe_collection/src/futures.rs:104
↓ 133 callersMethodas_mut
(&mut self)
unsafe_collection/src/bytes/limit.rs:147
↓ 128 callersMethodget_mut
Gets a mutable reference to the underlying buffer. This method escapes the slice's view. # Examples ``` use tokio_uring_xitca::buf::BoundedBuf; le
tokio-uring/src/buf/slice.rs:105
↓ 107 callersMethoditer
(&self)
router/src/params.rs:75
↓ 105 callersMethodheaders_mut
(&mut self)
client/src/request.rs:184
↓ 80 callersMethodlen
(&self)
io/src/bytes.rs:110
↓ 79 callersMethodadvance
Advances the fake clock by the given amount.
http-rate/src/timer.rs:77
↓ 79 callersMethodclone
(&self)
http/src/http.rs:207
↓ 78 callersFunctionbuilder
Constructs a [`Builder`] with default settings.
tokio-uring/src/lib.rs:134
↓ 72 callersFunctionfn_service
Shortcut for transform a given Fn into type impl [Service] trait.
service/src/service/function.rs:11
↓ 71 callersFunctiondrop
()
unsafe_collection/src/bound_queue/heap.rs:232
↓ 71 callersMethodget
(&self)
http/src/date.rs:79
↓ 69 callersMethodclone
(&self)
http/src/util/service/handler.rs:44
↓ 67 callersMethodtake
(&mut self)
http-encoding/src/writer.rs:12
↓ 63 callersFunctiondecode
(size: u8, buf: &mut B)
http/src/h3/proto/qpack/prefix_int.rs:22
↓ 63 callersMethodmap
(self, f: F)
http/src/h2/proto/frame/data.rs:99
↓ 62 callersMethodpush
(&mut self, key: &str, value: &str)
router/src/params.rs:98
↓ 61 callersMethodenclosed
Enclose App with middleware type. Middleware must impl [Service] trait. See [middleware](crate::middleware) for more.
web/src/app/mod.rs:499
↓ 61 callersFunctionspawn
Spawns a new asynchronous task, returning a [`JoinHandle`] for it. Spawning a task enables the task to execute concurrently to other tasks. There is
tokio-uring/src/runtime/mod.rs:61
↓ 60 callersMethodas_ref
(&self)
router/src/escape.rs:105
↓ 59 callersMethodfinish
Finish App build. No other App method can be called afterwards.
web/src/app/mod.rs:541
↓ 56 callersMethodlen
Returns the number of headers in the table
http/src/h2/proto/hpack/table.rs:619
↓ 55 callersMethodlen
(&self)
router/src/params.rs:55
↓ 51 callersFunctionhandler_service
A service factory shortcut offering given async function ability to use [FromRequest] to destruct and transform `Service<Req>`'s `Req` type and receiv
http/src/util/service/handler.rs:16
↓ 49 callersMethodhandle
(&self)
tokio-uring/src/runtime/context.rs:41
↓ 48 callersMethodbody
(stream: B)
http/src/body.rs:252
↓ 48 callersMethodencode
(&self, buf: &mut W)
http/src/h3/proto/qpack/block.rs:192
↓ 47 callersMethodborrow_mut
(&mut self)
http/src/http.rs:358
↓ 46 callersMethodinsert
Insert a route into the tree.
router/src/tree.rs:122
↓ 46 callersMethodpath
()
http/src/util/service/router.rs:673
↓ 45 callersMethodlen
(&self)
http/src/h3/proto/headers.rs:146
↓ 44 callersMethodbuild
(self)
io/src/net/quic.rs:69
↓ 42 callersMethodat
(&'s self, mut path: &str)
router/src/tree.rs:841
↓ 42 callersMethodsend
Sends data on the connected socket On success, returns the number of bytes written.
tokio-uring/src/net/udp.rs:215
↓ 41 callersMethodclone
(&self)
web/src/middleware/eraser.rs:64
↓ 41 callersMethodstop
(&mut self, graceful: bool)
server/src/server/mod.rs:184
↓ 41 callersMethodversion
Set HTTP version of this request. # Default When this method is not called the version is chosen from the request URI scheme: - `https://` / `wss://`
client/src/request.rs:240
↓ 40 callersMethodlen
Returns the number of "live" keys in the rate limiter's state store. Depending on how the state store is implemented, this may return an estimate or
http-rate/src/state/keyed.rs:157
↓ 40 callersMethodreq
(&self)
web/src/context.rs:90
↓ 40 callersMethodreserve
(&mut self, size: usize)
http/src/h2/proto/hpack/decoder.rs:505
↓ 40 callersMethodwrite_str
(&mut self, s: &str)
io/src/bytes.rs:25
↓ 39 callersMethodas_str
Wire-form name of this protocol, suitable for the `:protocol` pseudo-header value. Returns `""` for protocols parsed from an unrecognised string (roun
http/src/http.rs:57
↓ 39 callersFunctionencode
(e: &mut Encoder, hdrs: Vec<Header<Option<HeaderName>>>)
http/src/h2/proto/hpack/encoder.rs:669
↓ 37 callersMethodinsert
(&mut self, other: u8)
http-ws/src/codec.rs:61
↓ 37 callersFunctionstart
Starts an `io_uring` enabled Tokio runtime. All `tokio-uring` resource types must be used from within the context of a runtime. The `start` method in
tokio-uring/src/lib.rs:112
↓ 37 callersMethodwrite_all
(&self, buf: T)
tokio-uring/src/io/socket.rs:50
↓ 36 callersMethodinto_iter
(mut self)
postgres/src/driver/io_uring.rs:48
↓ 36 callersMethodkind
(&self)
http/src/h2/proto/frame/head.rs:52
↓ 35 callersMethodas_ref
(&self)
http/src/h3/proto/qpack/field.rs:50
↓ 35 callersFunctionbuild_table
()
http/src/h3/proto/qpack/tests.rs:10
↓ 34 callersMethodsplit
(&self)
client/src/tunnel.rs:67
↓ 34 callersMethodwrite_str
(&mut self, s: &str)
http-file/src/buf.rs:18
↓ 32 callersMethodinto_inner
Unwraps this `Slice`, returning the underlying buffer. # Examples ``` use tokio_uring_xitca::buf::BoundedBuf; let buf = b"hello world".to_vec(); le
tokio-uring/src/buf/slice.rs:122
↓ 31 callersMethodmethod
(mut self, method: Method)
client/src/request.rs:33
↓ 30 callersMethodencoder
(&mut self, stream_id: u64)
http/src/h3/proto/qpack/dynamic.rs:251
↓ 30 callersMethodinsert
(mut self, path: &str, builder: F)
web/src/app/router.rs:17
↓ 30 callersFunctiontake
(buf: &mut Cursor<&mut BytesMut>, n: usize)
http/src/h2/proto/hpack/decoder.rs:423
↓ 29 callersMethodat
insert routed service with given string literal as route path to application. services will be routed with following rules: # Static route string lit
web/src/app/mod.rs:315
↓ 29 callersMethodcollect
(self)
client/src/response.rs:123
↓ 29 callersMethodput_slice
(&mut self, src: &[u8])
unsafe_collection/src/bytes/limit.rs:128
↓ 28 callersMethodand_then
Chain another service factory who's service takes `Self`'s `Service::Response` output as `Service::Request`.
service/src/service/ext.rs:50
↓ 28 callersMethodborrow_mut
(&mut self)
http/src/util/middleware/context.rs:94
↓ 28 callersFunctionempty
()
unsafe_collection/src/small_str.rs:302
↓ 28 callersFunctionencode
(size: u8, flags: u8, value: u64, buf: &mut B)
http/src/h3/proto/qpack/prefix_int.rs:56
↓ 28 callersMethodget
Deserializes a value from the row. The value can be specified either by its numeric index in the row, or by its column name. # Panics Panics if the
postgres/src/row/types.rs:157
↓ 28 callersMethodinsert
(&mut self, field: &HeaderField)
http/src/h3/proto/qpack/dynamic.rs:111
↓ 27 callersMethodbind
(mut self, addr: A)
web/src/server.rs:190
↓ 27 callersMethodchunk
(&self)
unsafe_collection/src/bytes/limit.rs:80
↓ 27 callersMethodclear
(&mut self)
io/src/bytes.rs:127
↓ 27 callersMethodfreeze
(self)
http-file/src/buf.rs:12
↓ 27 callersMethodnext
(&mut self)
postgres/src/query/stream.rs:154
↓ 27 callersMethodtake
(&mut self)
http/src/h1/proto/trasnder_coding.rs:95
↓ 26 callersMethodas_ref
(&self)
http-ws/src/lib.rs:143
↓ 26 callersMethodclone
(&self)
client/src/pool/shared.rs:31
↓ 26 callersMethodheaders
(&self)
client/src/request.rs:178
↓ 26 callersMethodtry_handle
(&mut self)
test/src/lib.rs:146
↓ 25 callersMethodlen
(&self)
postgres/src/row/types.rs:93
↓ 25 callersMethodmap_err
(self, func: F)
postgres/src/iter.rs:29
↓ 25 callersMethodsubmit_op
(&mut self, mut data: T, f: F, handle: WeakHandle)
tokio-uring/src/runtime/driver/mod.rs:132
↓ 24 callersMethodadd
(&mut self)
http/src/h3/proto/qpack/vas.rs:89
↓ 24 callersMethodencode
( &mut self, stream_id: u64, block: &mut W, encoder_buf: &mut W, field
http/src/h3/proto/qpack/encoder.rs:74
↓ 24 callersMethodpush
(&mut self, msg: Message)
http/src/h2/proto/flow.rs:755
↓ 24 callersMethodrun
(self)
router/tests/match.rs:67
↓ 24 callersMethodset_max_size
(&mut self, size: usize)
http/src/h3/proto/qpack/dynamic.rs:275
↓ 23 callersMethodexecute
(self, cli: &'c Transaction<'_, C>)
postgres/src/transaction.rs:240
↓ 23 callersMethodinsert
Insert a new service builder to given path. The service builder must produce another service type that impl [Service] trait while it's generic `Req` t
http/src/util/service/router.rs:49
↓ 23 callersMethodposition
An optional error cursor position into either the original query string or an internally generated query.
postgres/src/error.rs:566
↓ 23 callersMethodremove
Removes a route from the tree, returning the value if the route already existed. The provided path should be the same as the one used to insert the r
router/src/tree.rs:626
↓ 23 callersMethodto_owned
Converts this reference into an owned route.
router/src/escape.rs:150
↓ 23 callersMethodtry_next
(&mut self)
postgres/src/copy.rs:142
↓ 22 callersMethodappend
Appends another route to the end of this one.
router/src/escape.rs:81
↓ 22 callersMethodas_ref
(&self)
postgres/src/statement.rs:32
↓ 22 callersMethodbody
(&self)
web/src/context.rs:102
↓ 22 callersMethodbytes_init
(&self)
tokio-uring/src/buf/slice.rs:202
↓ 22 callersMethodcall
(&self, _: ())
web/src/handler/types/text.rs:85
↓ 22 callersMethodpush
Push to the end of the list
tokio-uring/src/runtime/driver/op/slab_list.rs:91
↓ 22 callersMethodraw_fd
Returns the RawFd
tokio-uring/src/io/shared_fd.rs:57
↓ 22 callersMethodstatus
(status: GrpcStatus)
http-grpc/src/error.rs:66
next →1–100 of 3,753, ranked by callers