Struct rl_sys::ReadlineError [] [src]

pub struct ReadlineError {
    // some fields omitted
}

Represents an error that has occurred within the Readline API.

Methods

impl ReadlineError
[src]

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

Create a ReadlineError struct from the given description and detail.

Trait Implementations

impl Debug for ReadlineError
[src]

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

Formats the value using the given formatter.

impl Display for ReadlineError
[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 ReadlineError
[src]

fn from(e: NulError) -> ReadlineError

Performs the conversion.

impl From<Utf8Error> for ReadlineError
[src]

fn from(e: Utf8Error) -> ReadlineError

Performs the conversion.

impl From<Error> for ReadlineError
[src]

fn from(e: Error) -> ReadlineError

Performs the conversion.