[][src]Module sudo_plugin::errors

The collection of Error types used by this library.

Macros

bail

Exits a function early with an error

Structs

Error

The Error type.

Enums

ErrorKind

The kind of an error.

IoFacility

The list of supported facilities to communicate with the end-user.

Traits

AsSudoPluginRetval

A trait that is implemented by all Error types in this library, which allows any error to be converted to its corresponding integer error code as understood by the sudo plugin API.

ResultExt

Additional methods for Result, for easy interaction with this crate.

Type Definitions

Result

Convenient wrapper around std::Result.