Enum pyo3_polars::error::PyPolarsErr
source · pub enum PyPolarsErr {
Polars(PolarsError),
Other(String),
}
Variants§
Trait Implementations§
source§impl Debug for PyPolarsErr
impl Debug for PyPolarsErr
source§impl Display for PyPolarsErr
impl Display for PyPolarsErr
source§impl Error for PyPolarsErr
impl Error for PyPolarsErr
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PolarsError> for PyPolarsErr
impl From<PolarsError> for PyPolarsErr
source§impl From<PyPolarsErr> for PyErr
impl From<PyPolarsErr> for PyErr
source§fn from(err: PyPolarsErr) -> PyErr
fn from(err: PyPolarsErr) -> PyErr
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PyPolarsErr
impl Send for PyPolarsErr
impl Sync for PyPolarsErr
impl Unpin for PyPolarsErr
impl !UnwindSafe for PyPolarsErr
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