Enum subprocess::PopenError
source · pub enum PopenError {
Utf8Error(FromUtf8Error),
IoError(Error),
LogicError(&'static str),
}
Expand description
Error in Popen
calls.
Variants§
Utf8Error(FromUtf8Error)
Error when attempting to convert bytes to string.
IoError(Error)
The underlying error is io::Error.
LogicError(&'static str)
A logical error was made, e.g. invalid arguments detected at run-time.
Trait Implementations§
source§impl Debug for PopenError
impl Debug for PopenError
source§impl Display for PopenError
impl Display for PopenError
source§impl Error for PopenError
impl Error for PopenError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<Error> for PopenError
impl From<Error> for PopenError
source§fn from(err: Error) -> PopenError
fn from(err: Error) -> PopenError
Converts to this type from the input type.
source§impl From<FromUtf8Error> for PopenError
impl From<FromUtf8Error> for PopenError
source§fn from(err: FromUtf8Error) -> PopenError
fn from(err: FromUtf8Error) -> PopenError
Converts to this type from the input type.