Struct ispell::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
Error type returned by methods of this library
Methods
impl Error
[src]
fn new<S: Into<String>>(msg: S) -> Error
Creates a new default error
fn process<S: Into<String>>(msg: S) -> Error
Create a new process error
(for errors launching Ispell)
fn utf8<S: Into<String>>(msg: S) -> Error
Create a new UTF8 error
(for errors converting to UTF8)
fn protocol<S: Into<String>>(msg: S) -> Error
Creates a new protocol error
(when we didn't understand ispell output)
fn invalid_word<S: Into<String>>(msg: S) -> Error
Creates a new invalid word error
(when the user uses illegal characters in a word)
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.