#[non_exhaustive]pub enum ArrowSendError {
Interop(InteropError),
Send(NodeError),
}Available on crate feature
arrow-interop only.Expand description
Either half of a send_arrow can fail: the conversion, or the send.
See the module docs for why this is a separate type rather than a
NodeError variant.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Interop(InteropError)
The arrow-rs value could not be mapped onto AstRS’s closed columnar
type set (blueprint §6.1) — an arrow DataType outside the P0 set, a
non-nanosecond timestamp, and so on.
Send(NodeError)
The converted batch could not be published.
Trait Implementations§
Source§impl Debug for ArrowSendError
impl Debug for ArrowSendError
Source§impl Display for ArrowSendError
impl Display for ArrowSendError
Source§impl Error for ArrowSendError
impl Error for ArrowSendError
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<InteropError> for ArrowSendError
impl From<InteropError> for ArrowSendError
Source§fn from(source: InteropError) -> Self
fn from(source: InteropError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ArrowSendError
impl !UnwindSafe for ArrowSendError
impl Freeze for ArrowSendError
impl Send for ArrowSendError
impl Sync for ArrowSendError
impl Unpin for ArrowSendError
impl UnsafeUnpin for ArrowSendError
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