Enum substrait_expr::error::SubstraitExprError
source · pub enum SubstraitExprError {
InvalidSubstrait(String),
InvalidInput(String),
}Expand description
All errors raised by this crate will be instances of SubstraitExprError
Variants§
InvalidSubstrait(String)
This indicates that a substrait message is invalid
InvalidInput(String)
This indicates that a user is trying to do something with the library that is invalid
Implementations§
source§impl SubstraitExprError
impl SubstraitExprError
sourcepub fn invalid_input(message: impl Into<String>) -> Self
pub fn invalid_input(message: impl Into<String>) -> Self
Shortcut for creating InvalidInput from &str
sourcepub fn invalid_substrait(message: impl Into<String>) -> Self
pub fn invalid_substrait(message: impl Into<String>) -> Self
Shortcut for creating InvalidSubstrait from &str
Trait Implementations§
source§impl Debug for SubstraitExprError
impl Debug for SubstraitExprError
source§impl Display for SubstraitExprError
impl Display for SubstraitExprError
source§impl Error for SubstraitExprError
impl Error for SubstraitExprError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for SubstraitExprError
impl Send for SubstraitExprError
impl Sync for SubstraitExprError
impl Unpin for SubstraitExprError
impl UnwindSafe for SubstraitExprError
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