MCPcopy Create free account

hub / github.com/PacktPublishing/Hands-On-Microservices-with-Rust / functions

Functions361 in github.com/PacktPublishing/Hands-On-Microservices-with-Rust

↓ 14 callersMethodas_ref
(&self)
Chapter06/grpc-ring/src/ring.rs:139
↓ 12 callersMethodinsert
(comment: NewComment, conn: &PgConnection)
Chapter15/deploy/microservices/content/src/comment.rs:35
↓ 11 callersFunctionnow
()
Chapter14/fast-service/src/main.rs:57
↓ 10 callersFunctionresponse_with_code
(status_code: StatusCode)
Chapter02/hyper-microservice-rest-regex/src/main.rs:112
↓ 10 callersMethodstart
(&self, req: &HttpRequest<State>)
Chapter13/units/src/lib.rs:165
↓ 9 callersMethodfinish
(&self, _req: &HttpRequest<State>, _resp: &HttpResponse)
Chapter13/units/src/lib.rs:175
↓ 8 callersMethodinsert
(comment: NewComment, conn: &SqliteConnection)
Chapter09/content-rocket/src/comment.rs:35
↓ 8 callersFunctionrand_str
()
Chapter13/integration/tests/utils.rs:101
↓ 8 callersFunctionresponse_with_code
(status_code: StatusCode)
Chapter02/hyper-microservice-rest/src/main.rs:92
↓ 7 callersMethodrequest
(&mut self, method: Method, path: &'a str, values: I)
Chapter13/integration/tests/utils.rs:69
↓ 7 callersFunctions_attr
(s: T)
Chapter17/serverless/lambda_1/src/main.rs:99
↓ 6 callersMethodfinish
(&self, _req: &HttpRequest<State>, _resp: &HttpResponse)
Chapter11/router/src/main.rs:164
↓ 5 callersFunctions_attr
(s: String)
Chapter07/user-location/src/main.rs:161
↓ 5 callersFunctionstart
(links: LinksMap)
Chapter13/units/src/lib.rs:180
↓ 4 callersFunctionadd_mock
(method: &str, path: &str, result: T)
Chapter13/units/src/lib.rs:240
↓ 4 callersFunctionboxed
(fut: F)
Chapter11/router-cache-ws/src/main.rs:24
↓ 4 callersFunctionboxed
(fut: F)
Chapter11/router-cache/src/main.rs:20
↓ 4 callersMethodfinish
(&self, _req: &HttpRequest<State>, _resp: &HttpResponse)
Chapter11/router-cache-ws/src/main.rs:225
↓ 4 callersMethodfinish
(&self, _req: &HttpRequest<State>, _resp: &HttpResponse)
Chapter11/router-cache/src/main.rs:208
↓ 4 callersMethodhealthcheck
(&mut self, path: &str, content: &str)
Chapter13/integration/tests/utils.rs:38
↓ 4 callersFunctionmock_url
(base: &str, path: &str)
Chapter13/units/src/lib.rs:232
↓ 4 callersFunctionwait
(ms: u64)
Chapter13/tracing/src/main.rs:8
↓ 3 callersMethodcheck_status
(&mut self, method: Method, path: &'a str, values: I, status: StatusCode)
Chapter13/integration/tests/utils.rs:46
↓ 3 callersFunctioncolor_range
(from: u8, to: u8)
Chapter04/random-service-with-shuffle/src/main.rs:63
↓ 3 callersFunctioncolor_range
(from: u8, to: u8)
Chapter04/random-service-with-multiple-formats/src/main.rs:74
↓ 3 callersFunctionrouter
(state: ConnState)
Chapter09/logs-gotham/src/main.rs:74
↓ 3 callersFunctionurl
(url: &str, path: &str)
Chapter13/integration/tests/utils.rs:121
↓ 2 callersFunctionadd_item
(item)
Chapter11/router-cache-ws/static/script.js:10
↓ 2 callersMethodadd_member
(&self, channel_id: Id, user_id: Id)
Chapter08/chat/src/lib.rs:90
↓ 2 callersMethodadd_message
(&self, channel_id: Id, user_id: Id, text: &str)
Chapter08/chat/src/lib.rs:107
↓ 2 callersFunctionboxed
(fut: F)
Chapter15/deploy/microservices/router/src/main.rs:26
↓ 2 callersFunctionboxed
(fut: F)
Chapter13/units/src/lib.rs:16
↓ 2 callersFunctionboxed
(fut: F)
Chapter11/router/src/main.rs:16
↓ 2 callersMethodcall_method
(&self, meth: &str, args: &[Value])
Chapter06/jsonrpc-ring/src/main.rs:44
↓ 2 callersFunctioncount_up
(state: &State, path: &str)
Chapter10/actors/src/main.rs:33
↓ 2 callersMethodcreate_channel
(&self, user_id: Id, title: &str, is_public: bool)
Chapter08/chat/src/lib.rs:41
↓ 2 callersFunctioncreate_node
(text)
Chapter15/deploy/microservices/router/static/script.js:2
↓ 2 callersFunctioncreate_node
(text)
Chapter13/units/static/script.js:2
↓ 2 callersFunctioncreate_node
(text)
Chapter11/router-cache-ws/static/script.js:2
↓ 2 callersFunctioncreate_node
(text)
Chapter11/router/static/script.js:2
↓ 2 callersFunctioncreate_node
(text)
Chapter11/router-cache/static/script.js:2
↓ 2 callersFunctioncreate_user
(conn: &Connection, user: &User)
Chapter07/users-pool/src/main.rs:19
↓ 2 callersFunctioncreate_user
(conn: &mut Conn, user: &User)
Chapter07/users-mysql/src/main.rs:19
↓ 2 callersMethoddeserialize
(deserializer: D)
Chapter04/random-service-with-shuffle/src/color.rs:98
↓ 2 callersFunctionensure_queue
( chan: &Channel<TcpStream>, name: &str, )
Chapter12/rabbit-actix/src/lib.rs:31
↓ 2 callersMethodget_unknown_fields
(&self)
Chapter06/grpc-ring/src/ring.rs:72
↓ 2 callersMethodmark_itself
(&self)
Chapter06/jsonrpc-ring/src/main.rs:40
↓ 2 callersMethodmark_itself
(&self, _: RequestOptions, _: Empty)
Chapter06/grpc-ring/src/server.rs:59
↓ 2 callersFunctionother
(err: E)
Chapter10/actors/src/main.rs:20
↓ 2 callersMethodoutgoing
(&self)
Chapter12/rabbit-actix/src/server.rs:169
↓ 2 callersFunctionpost_request
(url: &str, params: T)
Chapter13/units/src/lib.rs:34
↓ 2 callersFunctionpost_request
(url: &str, params: T)
Chapter11/router-cache-ws/src/main.rs:42
↓ 2 callersFunctionpost_request
(url: &str, params: T)
Chapter11/router/src/main.rs:34
↓ 2 callersFunctionpost_request
(url: &str, params: T)
Chapter11/router-cache/src/main.rs:38
↓ 2 callersMethodregister_user
(&self, email: &str)
Chapter08/chat/src/lib.rs:28
↓ 2 callersFunctionrequest
(url: &str, params: T)
Chapter15/deploy/microservices/router/src/main.rs:44
↓ 2 callersFunctionresponse_with_code
(status_code: StatusCode)
Chapter05/images-service/src/main.rs:81
↓ 2 callersMethodsend_action
(&self, action: Action)
Chapter06/grpc-ring/src/server.rs:45
↓ 2 callersMethodsend_message
(&self, corr_id: ShortString, outgoing: T::Outgoing, ctx: &mut Context<Self>)
Chapter12/rabbit-actix/src/queue_actor.rs:116
↓ 2 callersMethodstart
(&self, req: &HttpRequest<State>)
Chapter11/router-cache-ws/src/main.rs:215
↓ 2 callersFunctiontest_post
(path: &str, data: &T)
Chapter13/units/src/lib.rs:279
↓ 2 callersFunctiontest_url
(path: &str)
Chapter13/units/src/lib.rs:236
↓ 2 callersFunctionto_number
(value: &Value, default: u16)
Chapter10/one-thread/src/main.rs:51
↓ 2 callersFunctionto_number
(value: &Value, default: u16)
Chapter10/blocking/src/main.rs:27
↓ 2 callersFunctionto_number
(value: &Value, default: u16)
Chapter10/thread-pool/src/main.rs:27
↓ 2 callersFunctionto_number
(value: &Value, default: u16)
Chapter10/actors/src/main.rs:27
↓ 1 callersFunctionadd_activity
(conn: &Database, activity: Activity)
Chapter07/user-logs/src/main.rs:13
↓ 1 callersFunctionadd_location
(conn: &DynamoDbClient, location: Location)
Chapter07/user-location/src/main.rs:10
↓ 1 callersFunctionadd_session
(conn: &Connection, token: &str, uid: &str)
Chapter07/sessions/src/main.rs:13
↓ 1 callersFunctionalt_udp_echo
()
Chapter05/futures-examples/src/main.rs:71
↓ 1 callersMethodcache
(&self, path: &str, fut: F)
Chapter11/router-cache-ws/src/main.rs:184
↓ 1 callersMethodcache
(&self, path: &str, fut: F)
Chapter11/router-cache/src/main.rs:167
↓ 1 callersFunctionconvert
(data: Vec<u8>, width: u16, height: u16)
Chapter10/one-thread/src/main.rs:35
↓ 1 callersFunctionconvert
(data: &[u8], width: u16, height: u16)
Chapter10/blocking/src/main.rs:11
↓ 1 callersFunctionconvert
(data: &[u8], width: u16, height: u16)
Chapter10/thread-pool/src/main.rs:11
↓ 1 callersFunctioncreate_table
(conn: &Connection)
Chapter07/users/src/main.rs:6
↓ 1 callersFunctioncreate_table
(conn: &Connection)
Chapter07/users-pool/src/main.rs:10
↓ 1 callersFunctioncreate_table
(conn: &mut Conn)
Chapter07/users-mysql/src/main.rs:10
↓ 1 callersFunctioncreate_user
(conn: &Connection, name: &str, email: &str)
Chapter07/users/src/main.rs:15
↓ 1 callersMethoddelete_message
(&self, message_id: Id)
Chapter08/chat/src/lib.rs:129
↓ 1 callersFunctionfile_descriptor_proto
()
Chapter06/grpc-ring/src/ring.rs:160
↓ 1 callersFunctionfind_unicorn
(location: &Location)
Chapter17/serverless/lambda_1/src/main.rs:88
↓ 1 callersFunctionget_req
(url: &str)
Chapter15/deploy/microservices/router/src/main.rs:33
↓ 1 callersFunctionget_request
(url: &str)
Chapter13/units/src/lib.rs:23
↓ 1 callersFunctionget_request
(url: &str)
Chapter11/router-cache-ws/src/main.rs:31
↓ 1 callersFunctionget_request
(url: &str)
Chapter11/router/src/main.rs:23
↓ 1 callersFunctionget_request
(url: &str)
Chapter11/router-cache/src/main.rs:27
↓ 1 callersMethodget_value
(&self, path: &str)
Chapter11/router-cache-ws/src/cache.rs:65
↓ 1 callersMethodget_value
(&self, path: &str)
Chapter11/router-cache/src/cache.rs:65
↓ 1 callersMethodhandle
(&mut self, msg: SendMessage<T::Outgoing>, ctx: &mut Self::Context)
Chapter12/rabbit-actix/src/queue_actor.rs:67
↓ 1 callersFunctionhandler
(request: &Request, pool: &Pool)
Chapter15/deploy/microservices/users/src/main.rs:64
↓ 1 callersFunctionhandler
( _: Request, _: Context, )
Chapter17/serverless/lambda_2/src/main.rs:9
↓ 1 callersFunctionhandler
(request: &Request, pool: &Pool)
Chapter09/users-rouille/src/main.rs:49
↓ 1 callersMethodincoming
(&self)
Chapter12/rabbit-actix/src/server.rs:166
↓ 1 callersFunctionlist_activities
(conn: &Database)
Chapter07/user-logs/src/main.rs:23
↓ 1 callersFunctionlist_locations
(conn: &DynamoDbClient, user_id: String)
Chapter07/user-location/src/main.rs:31
↓ 1 callersFunctionlist_sessions
(conn: &Connection)
Chapter07/sessions/src/main.rs:21
↓ 1 callersFunctionlist_users
(conn: &Connection)
Chapter07/users/src/main.rs:21
↓ 1 callersFunctionlist_users
(conn: &Connection)
Chapter07/users-pool/src/main.rs:25
↓ 1 callersFunctionlist_users
(conn: &mut Conn)
Chapter07/users-mysql/src/main.rs:25
next →1–100 of 361, ranked by callers