pub struct ForeignTableFunction(/* private fields */);Expand description
This struct is used to access an UDTF provided by a foreign library across a FFI boundary.
The ForeignTableFunction is to be used by the caller of the UDTF, so it has no knowledge or access to the private data. All interaction with the UDTF must occur through the functions defined in FFI_TableFunction.
Trait Implementations§
Source§impl Debug for ForeignTableFunction
impl Debug for ForeignTableFunction
impl Send for ForeignTableFunction
impl Sync for ForeignTableFunction
Source§impl TableFunctionImpl for ForeignTableFunction
impl TableFunctionImpl for ForeignTableFunction
Source§fn call_with_args(
&self,
args: TableFunctionArgs<'_, '_>,
) -> Result<Arc<dyn TableProvider>>
fn call_with_args( &self, args: TableFunctionArgs<'_, '_>, ) -> Result<Arc<dyn TableProvider>>
Create a table provider
Auto Trait Implementations§
impl Freeze for ForeignTableFunction
impl RefUnwindSafe for ForeignTableFunction
impl Unpin for ForeignTableFunction
impl UnsafeUnpin for ForeignTableFunction
impl UnwindSafe for ForeignTableFunction
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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
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