#[doc(hidden)]pub trait FromPyObjectSequence {
type Target;
// Required methods
fn to_vec(&self) -> Vec<Self::Target>;
fn to_array<const N: usize>(&self) -> PyResult<[Self::Target; N]>;
}Expand description
Private trait for implementing specialized sequence extraction for Vec<u8> and [u8; N]
Required Associated Types§
Required Methods§
fn to_vec(&self) -> Vec<Self::Target>
fn to_array<const N: usize>(&self) -> PyResult<[Self::Target; N]>
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.