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 CommandErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for CommandError[src]
impl Error for CommandErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis 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 CommandErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for CommandError[src]
impl From<Error> for CommandErrorfn from(ioerr: Error) -> CommandError[src]
fn from(ioerr: Error) -> CommandErrorPerforms the conversion.
impl From<CommandError> for Error[src]
impl From<CommandError> for Errorfn from(cmderr: CommandError) -> Error[src]
fn from(cmderr: CommandError) -> ErrorPerforms the conversion.
Auto Trait Implementations
impl Send for CommandError
impl Send for CommandErrorimpl Sync for CommandError
impl Sync for CommandError