> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# Result

A value that represents either a successful value or an error value.

## Members

* [error](#error)
* [value](#value)
* [expect](#expect)
* [is_err](#is_err)
* [is_ok](#is_ok)
* [unwrap](#unwrap)
* [unwrap_or](#unwrap_or)

## error

The error value, or None when the result is successful.

## value

The success value, or None when the result is an error.

## expect

Returns the success value, or fails with msg and the stored error.

Message to include when the result contains an error.

The success value.

## is_err

Returns True when the result contains an error.

Whether the result contains an error.

## is_ok

Returns True when the result contains a success value.

Whether the result is successful.

## unwrap

Returns the success value, or fails if the result contains an error.

The success value.

## unwrap_or

Returns the success value, or the provided default when the result contains an error.

Fallback value to return when the result contains an error.

The success value or default value.