#[non_exhaustive]pub enum IpcError {
Arrow(String),
EmptyBatchInput,
SecretLeakAttempt {
column: String,
},
}Expand description
Errors raised by the Arrow IPC bridge.
Both uni-plugin-extism and uni-plugin-wasm wrap this in their
crate-level error enums via #[from].
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.
Arrow(String)
Arrow IPC encode / decode failed at the wasm boundary.
EmptyBatchInput
Called encode_batches with no input — there’s no schema to
write into the stream header.
SecretLeakAttempt
FU-2: a plugin attempted to serialize a column tagged with the
uni-db.secret-handle Arrow extension into its output batch.
The host blocks the serialization so the opaque handle cannot
leak across the wasm boundary as raw bytes.
Trait Implementations§
Source§impl Error for IpcError
impl Error for IpcError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for IpcError
impl RefUnwindSafe for IpcError
impl Send for IpcError
impl Sync for IpcError
impl Unpin for IpcError
impl UnsafeUnpin for IpcError
impl UnwindSafe for IpcError
Blanket Implementations§
impl<T> Allocation for T
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