# Enum envelope::Outcome

> The result carried by a response.

`zaun_community_protocol::envelope::Outcome` · Enum

```rust
pub enum Outcome { … }
```

The result carried by a response.

## Variants

### `Ok(Box<RawValue>)`

`"ok": true` with the command's response body.

### `Err(ErrorBody)`

`"ok": false` with an error object.

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/envelope/response/enum.Outcome.html)
