pub struct FfiFileReaderBuilder { /* private fields */ }Available on crate feature
io_plugin_ffi only.Expand description
One reference to a builder handle of the plugin package.
Implementations§
Source§impl FfiFileReaderBuilder
impl FfiFileReaderBuilder
Sourcepub unsafe fn from_owned_handle(
package: PlSmallStr,
handle: BuilderHandle,
) -> PolarsResult<Self>
pub unsafe fn from_owned_handle( package: PlSmallStr, handle: BuilderHandle, ) -> PolarsResult<Self>
Takes ownership of one reference to handle, a builder of package.
If package’s file_reader.v1 contract can’t be loaded, there is no release function to
call: the reference is leaked (the error says so).
§Safety
handle must be a live builder handle of package’s file_reader.v1 contract.
pub fn package(&self) -> &PlSmallStr
pub fn plugin(&self) -> &'static Plugin
pub fn handle(&self) -> BuilderHandle
pub fn name(&self) -> PlSmallStr
pub fn fingerprint(&self) -> u64
pub fn capabilities(&self) -> PolarsResult<Capabilities>
pub fn explain_properties(&self) -> PolarsResult<PlIndexMap<String, String>>
Trait Implementations§
Source§impl Clone for FfiFileReaderBuilder
impl Clone for FfiFileReaderBuilder
Source§impl Debug for FfiFileReaderBuilder
impl Debug for FfiFileReaderBuilder
Source§impl<'de> Deserialize<'de> for FfiFileReaderBuilder
Available on crate feature serde only.
impl<'de> Deserialize<'de> for FfiFileReaderBuilder
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Drop for FfiFileReaderBuilder
impl Drop for FfiFileReaderBuilder
impl Eq for FfiFileReaderBuilder
Source§impl Hash for FfiFileReaderBuilder
impl Hash for FfiFileReaderBuilder
Source§impl PartialEq for FfiFileReaderBuilder
Builders of one plugin with the same fingerprint read the same data.
impl PartialEq for FfiFileReaderBuilder
Builders of one plugin with the same fingerprint read the same data.
impl Send for FfiFileReaderBuilder
Source§impl Serialize for FfiFileReaderBuilder
Available on crate feature serde only.
impl Serialize for FfiFileReaderBuilder
Available on crate feature
serde only.impl Sync for FfiFileReaderBuilder
Auto Trait Implementations§
impl Freeze for FfiFileReaderBuilder
impl RefUnwindSafe for FfiFileReaderBuilder
impl Unpin for FfiFileReaderBuilder
impl UnsafeUnpin for FfiFileReaderBuilder
impl UnwindSafe for FfiFileReaderBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more