pub enum VersionError {
Exec(Error),
Error(String),
OutputError,
ParseError(String),
}
Expand description
Possible errors when parsing gnuplot’s version string
Variants§
Exec(Error)
The gnuplot
command couldn’t be executed
Error(String)
The gnuplot
command returned an error message
OutputError
The gnuplot
command returned invalid utf-8
ParseError(String)
The gnuplot
command returned an unparseable string
Trait Implementations§
Source§impl Debug for VersionError
impl Debug for VersionError
Source§impl Display for VersionError
impl Display for VersionError
Source§impl Error for VersionError
impl Error for VersionError
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
Auto Trait Implementations§
impl Freeze for VersionError
impl !RefUnwindSafe for VersionError
impl Send for VersionError
impl Sync for VersionError
impl Unpin for VersionError
impl !UnwindSafe for VersionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more