pub enum Error {
IO(Error),
Python3Only,
Other(&'static str),
}
Expand description
Describes a few possible errors from the PythonConfig
interface
Variants§
IO(Error)
An I/O error occured while interfacing the interpreter
Python3Only
This function is for Python 3 only
This will be the return error for methods returning
a Py3Only<T>
type.
Other(&'static str)
Other, one-off errors, with reasoning provided as a string
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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