pub trait ArrowMessage {
// Required methods
fn field(name: impl Into<String>) -> Field;
fn try_into_arrow(self) -> Result<Arc<dyn Array>, ArrowError>;
fn try_from_arrow(data: ArrayData) -> Result<Self, ArrowError>
where Self: Sized;
}
Required Methods§
fn field(name: impl Into<String>) -> Field
fn try_into_arrow(self) -> Result<Arc<dyn Array>, ArrowError>
fn try_from_arrow(data: ArrayData) -> Result<Self, ArrowError>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.