Enum ceph::error::RadosError [] [src]

pub enum RadosError {
    FromUtf8Error(FromUtf8Error),
    NulError(NulError),
    Error(String),
    IoError(Error),
    IntoStringError(IntoStringError),
    ParseIntError(ParseIntError),
    ParseError(ParseError),
    SerdeError(SerdeJsonError),
    MinVersion(CephVersionCephVersion),
    Parse(String),
}

Custom error handling for the library

Variants

This should be the minimum version and the current version

Methods

impl RadosError
[src]

[src]

Create a new RadosError with a String message

[src]

Convert a RadosError into a String representation.

Trait Implementations

impl Debug for RadosError
[src]

[src]

Formats the value using the given formatter.

impl Display for RadosError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for RadosError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<ParseError> for RadosError
[src]

[src]

Performs the conversion.

impl From<ParseIntError> for RadosError
[src]

[src]

Performs the conversion.

impl From<SerdeJsonError> for RadosError
[src]

[src]

Performs the conversion.

impl From<NulError> for RadosError
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for RadosError
[src]

[src]

Performs the conversion.

impl From<IntoStringError> for RadosError
[src]

[src]

Performs the conversion.

impl From<Error> for RadosError
[src]

[src]

Performs the conversion.