Module rad::errors [] [src]

Structs

Error

The Error type.

Enums

ErrorKind

The kind of an error.

Traits

ResultExt

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

Functions

get_error_string

Get the registered error string for a given error number.

librados

Convert the integer output of a librados API function into a Result<()>.

librados_res

Convert the integer output of a librados API function into a Result<u32>, returning the error value casted to a u32 if it's positive and returning Err otherwise.

Type Definitions

Result

Convenient wrapper around std::Result.