Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dapr/rust-sdk
/ functions
Functions
462 in github.com/dapr/rust-sdk
⨍
Functions
462
◇
Types & classes
361
Function
ensure_url_scheme_prepends_for_bare_host
()
dapr/src/workflow/client.rs:647
Function
ensure_url_scheme_prepends_when_missing
()
dapr/src/workflow/client.rs:639
Function
ensure_url_scheme_preserves_http
()
dapr/src/workflow/client.rs:623
Function
ensure_url_scheme_preserves_https
()
dapr/src/workflow/client.rs:631
Function
event_options_payload_json_handles_none
()
dapr/src/workflow/options.rs:405
Function
event_options_payload_json_round_trips
()
dapr/src/workflow/options.rs:410
Function
event_options_try_with_payload_propagates_error
()
dapr/src/workflow/options.rs:418
Method
execute_actor_state_transaction
Executes state transactions for a specified actor
dapr/src/dapr/dapr.proto.runtime.v1.rs:4723
Method
execute_actor_state_transaction
Saves a state value within the scope of this instance of the actor. # Arguments `operations` - A list of [ActorStateOperation] to perform on the stat
dapr/src/server/actor/context_client.rs:81
Method
execute_state_transaction
Executes transactions for a specified store
dapr/src/dapr/dapr.proto.runtime.v1.rs:4295
Function
fail_activity
( _ctx: ActivityContext, _input: Option<String>, )
examples/src/workflow/main.rs:60
Function
fallback_handler
(OriginalUri(uri): OriginalUri)
dapr/src/server/http.rs:279
Function
fetch_options_with_fetch_payloads_toggles
()
dapr/src/workflow/options.rs:478
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
dapr/src/error.rs:44
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
dapr/src/server/actor/mod.rs:34
Function
format_duration
(duration: Duration)
examples/src/workflow-sustained/main.rs:229
Function
fraud_detection
(ctx: WorkflowContext)
examples/src/workflow-history-propagation/main.rs:184
Method
from
(_error: ParseIntError)
dapr/src/error.rs:80
Method
from
((key, value): (K, Vec<u8>))
dapr/src/client/mod.rs:1434
Method
from
(val: ActorStateOperation)
dapr/src/server/actor/context_client.rs:18
Method
from_arc
(inner: Arc<T>)
dapr/src/dapr/dapr.proto.runtime.v1.rs:1427
Method
from_arc
(inner: Arc<T>)
examples/src/invoke/protos/helloworld.rs:156
Method
from_env
Build a `ClientOptions` from environment variables only, returning an error if any present-but-invalid value cannot be parsed (e.g. `DAPR_CLIENT_TIMEO
dapr/src/client/config.rs:127
Method
from_env
Construct a layer that reads the expected token from `APP_API_TOKEN`. Permissive when the env var is unset or empty.
dapr/src/client/interceptor.rs:128
Method
from_options
Create a new Dapr client from an explicit [`ClientOptions`]. # Errors See [`Client::new`]. # Examples ```no_run # async fn run() -> Result<(), dap
dapr/src/client/mod.rs:1318
Method
from_request
(req: Request<Body>, state: &S)
dapr/src/server/utils.rs:27
Method
from_str_name
Creates an enum from field names used in the ProtoBuf definition.
dapr/src/dapr/dapr.proto.runtime.v1.rs:767
Method
from_str_name
Creates an enum from field names used in the ProtoBuf definition.
dapr/src/dapr/dapr.proto.common.v1.rs:67
Method
get_actor_reminder
Gets an actor reminder.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4696
Method
get_actor_state
Gets the state for a specific actor.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4671
Method
get_actor_state
Retrieves a keyed state value within the scope of this instance of the actor. # Arguments `key` - The key of the state to retrieve.
dapr/src/server/actor/context_client.rs:62
Method
get_bulk_secret
Gets a bulk of secrets
dapr/src/dapr/dapr.proto.runtime.v1.rs:4487
Method
get_bulk_state
Gets a bulk of state items for a list of keys
dapr/src/dapr/dapr.proto.runtime.v1.rs:4175
Method
get_configuration
GetConfiguration gets configuration from configuration store.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4805
Method
get_configuration_alpha1
GetConfiguration gets configuration from configuration store.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4775
Method
get_job
Gets a scheduled job
dapr/src/dapr/dapr.proto.runtime.v1.rs:5757
Method
get_job_alpha1
(&mut self, name: &str)
dapr/src/client/mod.rs:660
Method
get_job_alpha1
( &mut self, request: impl tonic::IntoRequest<super::GetJobRequest>, )
dapr/src/dapr/dapr.proto.runtime.v1.rs:5735
Method
get_metadata
Gets metadata of the sidecar
dapr/src/dapr/dapr.proto.runtime.v1.rs:5053
Method
get_secret
Get the secret for a specific key. # Arguments `store_name` - The name of secret store. `key` - The name of secret key.
dapr/src/client/mod.rs:213
Method
get_secret
Gets secrets from secret stores.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4462
Method
get_state
Gets the state for a specific key.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4150
Function
get_work_batch
(ctx: ActivityContext, input: Option<String>)
examples/src/workflow-parallel/main.rs:32
Method
get_workflow_alpha1
( &mut self, request: impl tonic::IntoRequest<super::GetWorkflowRequest>, )
dapr/src/dapr/dapr.proto.runtime.v1.rs:5321
Method
get_workflow_beta1
Gets details about a started workflow instance
dapr/src/dapr/dapr.proto.runtime.v1.rs:5506
Function
handle_a_event
(order: Order)
examples/src/pubsub/subscriber.rs:20
Function
handle_b_event
(refund: Refund)
examples/src/pubsub/subscriber.rs:25
Method
has_token
Returns `true` when a non-empty token has been configured.
dapr/src/client/interceptor.rs:70
Method
health_check
Health check.
dapr/src/dapr/dapr.proto.runtime.v1.rs:1941
Function
interceptor_empty_token_is_noop
()
dapr/src/client/interceptor.rs:215
Function
interceptor_injects_token
()
dapr/src/client/interceptor.rs:223
Function
interceptor_no_token_is_noop
()
dapr/src/client/interceptor.rs:208
Function
interceptor_rejects_invalid_metadata
()
dapr/src/client/interceptor.rs:230
Method
into_response
(self)
dapr/src/server/utils.rs:48
Method
into_response
(self)
dapr/src/server/actor/mod.rs:47
Method
invoke_actor
InvokeActor calls a method on an actor.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4750
Method
invoke_binding
Invokes binding data to specific output bindings
dapr/src/dapr/dapr.proto.runtime.v1.rs:4437
Method
invoke_output_binding
Invoke a Dapr output binding without expecting a response payload. # Arguments `name` - The name of the output binding to invoke. `operation` - The
dapr/src/client/mod.rs:161
Function
invoke_reminder
( State(runtime): State<Arc<ActorRuntime>>, Path((actor_type, actor_id, reminder_name)): Path<(String,
dapr/src/server/http.rs:319
Method
invoke_service
Invokes a method on a remote Dapr app. Deprecated: Use proxy mode service invocation instead.
dapr/src/dapr/dapr.proto.runtime.v1.rs:4125
Function
invoke_timer
( State(runtime): State<Arc<ActorRuntime>>, Path((actor_type, actor_id, timer_name)): Path<(String, St
dapr/src/server/http.rs:349
Method
is_enforcing
Returns `true` when this layer will reject requests without a valid token.
dapr/src/client/interceptor.rs:134
Function
is_method_not_found
Returns `true` when a [`tonic::Status`] indicates the called gRPC method does not exist on the server. Dapr ≤ 1.17 routes unknown methods through its
dapr/src/client/mod.rs:27
Method
list_actor_reminders
( &mut self, request: impl tonic::IntoRequest<super::ListActorRemindersRequest>,
dapr/src/dapr/dapr.proto.runtime.v1.rs:4644
Method
list_input_bindings
( &self, _request: Request<()>, )
dapr/src/appcallback.rs:147
Method
list_input_bindings
Lists all input bindings subscribed by this app.
dapr/src/dapr/dapr.proto.runtime.v1.rs:1218
Method
list_input_bindings
( &self, _request: Request<()>, )
examples/src/app-api-token/main.rs:66
Method
list_input_bindings
Lists all input bindings subscribed by this app. NOTE: Dapr runtime will call this method to get the list of bindings the app wants to subscribe to. I
examples/src/bindings/input.rs:44
Method
list_input_bindings
Lists all input bindings subscribed by this app.
examples/src/invoke/grpc/server.rs:78
Method
list_jobs
Lists all scheduled jobs
dapr/src/client/mod.rs:710
Method
list_jobs
List all jobs
dapr/src/dapr/dapr.proto.runtime.v1.rs:5916
Method
list_jobs_alpha1
( &mut self, request: impl tonic::IntoRequest<super::ListJobsRequestAlpha1>, )
dapr/src/dapr/dapr.proto.runtime.v1.rs:5891
Method
list_topic_subscriptions
( &self, _request: Request<()>, )
dapr/src/appcallback.rs:110
Method
list_topic_subscriptions
Lists all topics subscribed by this app.
dapr/src/dapr/dapr.proto.runtime.v1.rs:1161
Method
list_topic_subscriptions
( &self, _request: Request<()>, )
examples/src/app-api-token/main.rs:50
Method
list_topic_subscriptions
Lists all topics subscribed by this app.
examples/src/bindings/input.rs:25
Method
list_topic_subscriptions
Lists all topics subscribed by this app. NOTE: Dapr runtime will call this method to get the list of topics the app wants to subscribe to. In this ex
examples/src/invoke/grpc/server.rs:61
Function
main
()
proto-gen/src/main.rs:5
Function
main
()
examples/src/client/client.rs:2
Function
main
()
examples/src/app-api-token/main.rs:99
Function
main
()
examples/src/crypto/main.rs:9
Function
main
()
examples/src/workflow-sustained/main.rs:49
Function
main
()
examples/src/configuration/main.rs:7
Function
main
()
examples/src/conversation-alpha1/main.rs:5
Function
main
()
examples/src/jobs/jobs.rs:49
Function
main
()
examples/src/client-config/main.rs:18
Function
main
()
examples/src/query_state/query1.rs:4
Function
main
()
examples/src/query_state/query2.rs:4
Function
main
()
examples/src/jobs-failurepolicy/jobs_failurepolicy.rs:49
Function
main
()
examples/src/bindings/input.rs:88
Function
main
()
examples/src/bindings/output.rs:4
Function
main
()
examples/src/conversation-alpha2/main.rs:9
Function
main
()
examples/src/pubsub/publisher.rs:21
Function
main
()
examples/src/pubsub/subscriber.rs:30
Function
main
()
examples/src/actors/server.rs:63
Function
main
()
examples/src/actors/client.rs:14
Function
main
()
examples/src/invoke/grpc/server.rs:111
Function
main
()
examples/src/invoke/grpc/client.rs:11
Function
main
()
examples/src/invoke/grpc-proxying/server.rs:31
Function
main
()
examples/src/invoke/grpc-proxying/client.rs:12
← previous
next →
201–300 of 462, ranked by callers