Enum neko::prelude::ShellError
[−]
pub enum ShellError { ForkFail(ForkError), TermiosFail(TermiosError), NotFound, }
The enum ShellError
defines the possible errors from constructor Shell.
Variants
ForkFail(ForkError)
TermiosFail(TermiosError)
NotFound
Trait Implementations
impl Copy for ShellError
impl Debug for ShellError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for ShellError
fn clone(&self) -> ShellError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Display for ShellError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
The function fmt
formats the value using the given formatter.
impl Error for ShellError
fn description(&self) -> &str
The function description
returns a short description of the error.
fn cause(&self) -> Option<&Error>
The function cause
returns the lower-level cause of this error, if any.