# Timers - Rust SDK

> Set durable Timers in a Workflow using the Rust SDK. Timers persist through Worker and Temporal Service downtime.

A Workflow can set a Durable Timer for a fixed time period. In some SDKs, the function is called `sleep()`, and in others, it's called `timer()`.

A Workflow can sleep for days, months, or even years. Timers are persisted, so even if your Worker or Temporal Service is down when the time period completes, as soon as your Worker and Temporal Service are back up, the `sleep()` call will resolve and your code will continue executing.

Sleeping is a resource-light operation: it doesn't tie up the process, and you can run millions of Timers off a single Worker.

To set a Timer in Rust, use the `timer()` function and pass the duration you want to wait before continuing.

```rust
ctx.timer(TimerOptions {
    duration: Duration::from_secs(60),
    summary: Some("important timer".into())
}).await;
```
