Trait arrow::pyarrow::FromPyArrow

source ·
pub trait FromPyArrow: Sized {
    // Required method
    fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> PyResult<Self>;

    // Provided method
    fn from_pyarrow(value: &PyAny) -> PyResult<Self> { ... }
}

Required Methods§

source

fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> PyResult<Self>

Provided Methods§

source

fn from_pyarrow(value: &PyAny) -> PyResult<Self>

👎Deprecated since 52.0.0: Use from_pyarrow_bound

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: FromPyArrow> FromPyArrow for Vec<T>

source§

fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> PyResult<Self>

Implementors§