# `Dune.Success`
[🔗](https://github.com/functional-rewire/dune/blob/v0.3.18/lib/dune/success.ex#L1)

A struct returned when `Dune` evaluation succeeds.

Fields:
- `value` (term): the value which was actually returned at runtime.
  Should not be displayed to the user, might be different from what the user expects.
- `inspected` (string): safely inspected `value` to be displayed to the user
- `stdio` (string): captured standard output

`value` contains the actual value used at runtime, so atoms will be different from the ones
displayed to the user (see `Dune.eval_string/2`).

# `t`

```elixir
@type t() :: %Dune.Success{inspected: String.t(), stdio: binary(), value: term()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
