---
title: region
summary: A code representing the general region of the world in which the Fastly POP processing the current Compute instance resides.
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/compute_runtime/fn.region/
---

**Kind:** Function  
**Module:** [compute_runtime](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/compute_runtime/)  
**Package:** fastly 0.13.1  
**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/compute_runtime.rs#98

```rust
fn region() -> &'static str
```

A code representing the general region of the world in which the [Fastly POP](https://www.fastly.com/documentation/guides/concepts/pop/) processing the
current Compute instance resides.

Equivalent to the "FASTLY_REGION" environment variable and to [`server.region`](https://www.fastly.com/documentation/reference/vcl/variables/server/server-region/) in VCL, and has
the same possible values.

**Returns**

`&str`
