Struct rl_sys::HistoryError [] [src]

pub struct HistoryError {
    // some fields omitted
}

Represents an error that has occurred within the History API.

Methods

impl HistoryError
[src]

fn new<T>(desc: &str, detail: T) -> HistoryError where T: Display

Create a HistoryError struct from the given description and detail.

Trait Implementations

impl Debug for HistoryError
[src]

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

Formats the value using the given formatter.

impl Display for HistoryError
[src]

Implemented as 'self.desc: self.detail'.

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

Formats the value using the given formatter.

impl From<NulError> for HistoryError
[src]

fn from(e: NulError) -> HistoryError

Performs the conversion.

impl From<Utf8Error> for HistoryError
[src]

fn from(e: Utf8Error) -> HistoryError

Performs the conversion.

impl From<ParseIntError> for HistoryError
[src]

fn from(e: ParseIntError) -> HistoryError

Performs the conversion.