Struct grep_cli::CommandError [−][src]
pub struct CommandError { /* fields omitted */ }
An error that can occur while running a command and reading its output.
This error can be seamlessly converted to an io::Error
via a From
implementation.
Trait Implementations
impl Debug for CommandError
[src]
impl Debug for CommandError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for CommandError
[src]
impl Error for CommandError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for CommandError
[src]
impl Display for CommandError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for CommandError
[src]
impl From<Error> for CommandError
fn from(ioerr: Error) -> CommandError
[src]
fn from(ioerr: Error) -> CommandError
Performs the conversion.
impl From<CommandError> for Error
[src]
impl From<CommandError> for Error
fn from(cmderr: CommandError) -> Error
[src]
fn from(cmderr: CommandError) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Sync for CommandError