rad

Module errors

Source

Structs§

Enums§

Traits§

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

Functions§

  • Get the registered error string for a given error number.
  • Convert the integer output of a librados API function into a Result<()>.
  • 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 Aliases§

  • Convenient wrapper around std::Result.