Struct rusty_leveldb::Status [] [src]

pub struct Status {
    pub code: StatusCode,
    pub err: String,
}

Status encapsulates a StatusCode and an error message. It can be displayed, and also implements Error.

Fields

Methods

impl Status
[src]

[src]

Trait Implementations

impl Clone for Status
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Status
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Status
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Default for Status
[src]

[src]

Returns the "default value" for a type. Read more

impl Display for Status
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Status
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl From<Error> for Status
[src]

[src]

Performs the conversion.

impl<T> From<PoisonError<T>> for Status
[src]

[src]

Performs the conversion.

impl From<Error> for Status
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Status

impl Sync for Status