Struct leveldb::database::error::Error [-] [+] [src]

pub struct Error {
    // some fields omitted
}

A leveldb error, just containing the error string provided by leveldb.

Methods

impl Error

fn new(message: String) -> Error

create a new Error, using the String provided

fn new_from_i8(message: *const i8) -> Error

create an error from a c-string buffer.

Trait Implementations

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result