pub enum ElError {
Source(String),
Destination(String),
Io(Error),
Arrow(ArrowError),
Other(String),
}Expand description
Root error type. Every fallible operation in el returns Result<T, ElError>.
Maps to Python el.ElError at the FFI boundary.
Variants§
Implementations§
Trait Implementations§
Source§impl Error for ElError
impl Error for ElError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ArrowError> for ElError
impl From<ArrowError> for ElError
Source§fn from(source: ArrowError) -> Self
fn from(source: ArrowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ElError
impl !RefUnwindSafe for ElError
impl Send for ElError
impl Sync for ElError
impl Unpin for ElError
impl UnsafeUnpin for ElError
impl !UnwindSafe for ElError
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