pub struct AsyncUdf<F: Future<Output = OutputT> + Send + 'static, FnT: Fn(u64, Duration, Vec<ArrayData>) -> F + Send> { /* private fields */ }Implementations§
Source§impl<F: Future<Output = OutputT> + Send + 'static, FnT: Fn(u64, Duration, Vec<ArrayData>) -> F + Send + 'static> AsyncUdf<F, FnT>
impl<F: Future<Output = OutputT> + Send + 'static, FnT: Fn(u64, Duration, Vec<ArrayData>) -> F + Send + 'static> AsyncUdf<F, FnT>
pub fn new( ordered: bool, timeout: Duration, allowed_in_flight: u32, builder: Box<dyn ArrayBuilder>, func: FnT, ) -> (Self, AsyncUdfHandle)
pub fn start(self)
Auto Trait Implementations§
impl<F, FnT> !Freeze for AsyncUdf<F, FnT>
impl<F, FnT> !RefUnwindSafe for AsyncUdf<F, FnT>
impl<F, FnT> Send for AsyncUdf<F, FnT>
impl<F, FnT> Sync for AsyncUdf<F, FnT>
impl<F, FnT> Unpin for AsyncUdf<F, FnT>where
FnT: Unpin,
impl<F, FnT> !UnwindSafe for AsyncUdf<F, FnT>
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