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]

Create a new RadosError with a String message

Convert a RadosError into a String representation.

Trait Implementations

impl Debug for RadosError
[src]

Formats the value using the given formatter. Read more

impl Display for RadosError
[src]

Formats the value using the given formatter. Read more

impl StdError for RadosError
[src]

This method is soft-deprecated. Read more

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

impl From<ParseError> for RadosError
[src]

Performs the conversion.

impl From<ParseIntError> for RadosError
[src]

Performs the conversion.

impl From<SerdeJsonError> for RadosError
[src]

Performs the conversion.

impl From<NulError> for RadosError
[src]

Performs the conversion.

impl From<FromUtf8Error> for RadosError
[src]

Performs the conversion.

impl From<IntoStringError> for RadosError
[src]

Performs the conversion.

impl From<Error> for RadosError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RadosError

impl Sync for RadosError